Giter VIP home page Giter VIP logo

Comments (13)

therealprof avatar therealprof commented on June 24, 2024

For good measure I just re-built and installed 0.5.1 and works just fine again, so it's not just a compiler version issue.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on June 24, 2024

The only difference between 0.5.1 and 0.5.2 is that cargo was updated. So you should ask there.

from cargo-bloat.

therealprof avatar therealprof commented on June 24, 2024

I agree that cargo is most likely the culprit but I'm not sure where and what to ask. Works just fine for anything else besides cargo-bloat.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on June 24, 2024

I have no idea what this error means. It's not my code for sure. I can't do anything about.

from cargo-bloat.

therealprof avatar therealprof commented on June 24, 2024

Me neither. I'll try cargo 0.29.0 and if it doesn't fix the problem I'll find someone to tell me what to report there.

from cargo-bloat.

therealprof avatar therealprof commented on June 24, 2024

Hm, no dice, same problem with cargo 0.29.0 and also with all other crate versions updated.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on June 24, 2024

Hi. I've removed the cargo dependency. But it should work exactly the same. It's still experimental, but you can try it via:

cargo install --git https://github.com/RazrFalcon/cargo-bloat --force

Any feedback are welcome.

from cargo-bloat.

therealprof avatar therealprof commented on June 24, 2024

Nice, compiles a lot faster, too. Unfortunately it still does not work:

# cargo bloat --release --example gpio_hal_blinky
Compiling ...
Error: only 'bin' and 'cdylib' crate types are supported.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on June 24, 2024

Could you post cargo build --message-format=json --release --example gpio_hal_blinky?

from cargo-bloat.

therealprof avatar therealprof commented on June 24, 2024

Here you go:

# cargo build --message-format=json --release --example gpio_hal_blinky
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/release/build/cortex-m-789c9b4fb8fa0ad3/build-script-build"],"fresh":true,"package_id":"cortex-m 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["bin"],"edition":"2015","kind":["custom-build"],"name":"build-script-build","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.5.6/build.rs"}}
{"features":["device"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/release/build/cortex-m-rt-968fd6a8f761a7a1/build-script-build"],"fresh":true,"package_id":"cortex-m-rt 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["bin"],"edition":"2015","kind":["custom-build"],"name":"build-script-build","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.5.3/build.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libvcell-dcff5f3d9b5ec36a.rlib"],"fresh":true,"package_id":"vcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"vcell","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/vcell-0.1.0/src/lib.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libr0-58427bbbea582a8d.rlib"],"fresh":true,"package_id":"r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"r0","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/r0-0.2.2/src/lib.rs"}}
{"features":["const-fn"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libbare_metal-8ac535386433ea91.rlib"],"fresh":true,"package_id":"bare-metal 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"bare-metal","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/bare-metal-0.2.3/src/lib.rs"}}
{"features":["cortex-m-rt","default","rt"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/release/build/stm32f042-f70a40b2c3dbb1c5/build-script-build"],"fresh":true,"package_id":"stm32f042 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["bin"],"edition":"2015","kind":["custom-build"],"name":"build-script-build","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/stm32f042-0.6.1/build.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libaligned-d7f58051669ec0ff.rlib"],"fresh":true,"package_id":"aligned 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"aligned","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/aligned-0.2.0/src/lib.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libvoid-ba1a7fc66ea37c43.rlib"],"fresh":true,"package_id":"void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"void","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libpanic_abort-06c1d4e1fbcedbd0.rlib"],"fresh":true,"package_id":"panic-abort 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"panic-abort","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-abort-0.2.0/src/lib.rs"}}
{"features":["unstable"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libnb-8bedad602f927eb2.rlib"],"fresh":true,"package_id":"nb 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"nb","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-0.1.1/src/lib.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libcast-593b3e6621e0dca6.rlib"],"fresh":true,"package_id":"cast 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"cast","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs"}}
{"features":["default","embedded-graphics","graphics"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/release/build/ssd1306-c10062262b1636f0/build-script-build"],"fresh":true,"package_id":"ssd1306 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["bin"],"edition":"2015","kind":["custom-build"],"name":"build-script-build","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.2.0/build.rs"}}
{"features":["default"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libembedded_graphics-8f4fb5438e126a98.rlib"],"fresh":true,"package_id":"embedded-graphics 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"embedded-graphics","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/embedded-graphics-0.4.0/src/lib.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libnumtoa-6f60e4bcba0f5563.rlib"],"fresh":true,"package_id":"numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"numtoa","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/numtoa-0.1.0/src/lib.rs"}}
{"cfgs":["cortex_m","armv6m"],"env":[],"linked_libs":["static=cortex-m"],"linked_paths":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/build/cortex-m-fa9d8fb1e764c75f/out"],"package_id":"cortex-m 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)","reason":"build-script-executed"}
{"cfgs":["armv6m"],"env":[],"linked_libs":["static=cortex-m-rt"],"linked_paths":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/build/cortex-m-rt-f91a8fecf8b257e1/out"],"package_id":"cortex-m-rt 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)","reason":"build-script-executed"}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libvolatile_register-620f7187fb1e385b.rlib"],"fresh":true,"package_id":"volatile-register 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"volatile-register","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/volatile-register-0.2.0/src/lib.rs"}}
{"cfgs":[],"env":[],"linked_libs":[],"linked_paths":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/build/stm32f042-2ac462e62fa6a63c/out"],"package_id":"stm32f042 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)","reason":"build-script-executed"}
{"features":["nb","unproven"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libembedded_hal-d460ab763895f80d.rlib"],"fresh":true,"package_id":"embedded-hal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"embedded-hal","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/embedded-hal-0.2.1/src/lib.rs"}}
{"cfgs":[],"env":[],"linked_libs":[],"linked_paths":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/build/ssd1306-020ca8790833f26a/out"],"package_id":"ssd1306 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)","reason":"build-script-executed"}
{"features":["device"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libcortex_m_rt-dff6e7769c48272e.rlib"],"fresh":true,"package_id":"cortex-m-rt 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"cortex-m-rt","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.5.3/src/lib.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libcortex_m-97a8ccb5a851019c.rlib"],"fresh":true,"package_id":"cortex-m 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"cortex-m","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.5.6/src/lib.rs"}}
{"features":[],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libina260-0a16d31c1c8dd9f1.rlib"],"fresh":true,"package_id":"ina260 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"ina260","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/ina260-0.2.2/src/lib.rs"}}
{"features":["default","embedded-graphics","graphics"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libssd1306-3e4b516afe73c325.rlib"],"fresh":true,"package_id":"ssd1306 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"ssd1306","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/ssd1306-0.2.0/src/lib.rs"}}
{"features":["cortex-m-rt","default","rt"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libstm32f042-51c84c97f629d2b9.rlib"],"fresh":true,"package_id":"stm32f042 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"stm32f042","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/stm32f042-0.6.1/src/lib.rs"}}
{"features":["cortex-m","cortexm"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libshared_bus-5e883915e7c1f013.rlib"],"fresh":true,"package_id":"shared-bus 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"shared-bus","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/shared-bus-0.1.2/src/lib.rs"}}
{"features":["default","rt"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libstm32f042_hal-a9b9eb6c8a02cfef.rlib"],"fresh":true,"package_id":"stm32f042-hal 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"stm32f042-hal","src_path":"/Users/egger/.cargo/registry/src/github.com-1ecc6299db9ec823/stm32f042-hal-0.4.2/src/lib.rs"}}
{"features":["default","rt"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/deps/libnucleo_f042k6-9cd65c4ec48a7442.rlib"],"fresh":true,"package_id":"nucleo-f042k6 0.2.2 (path+file:///Users/egger/OSS/nucleo-f042k6)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["lib"],"edition":"2015","kind":["lib"],"name":"nucleo-f042k6","src_path":"/Users/egger/OSS/nucleo-f042k6/src/lib.rs"}}
{"features":["default","rt"],"filenames":["/Users/egger/OSS/nucleo-f042k6/target/thumbv6m-none-eabi/release/examples/gpio_hal_blinky"],"fresh":true,"package_id":"nucleo-f042k6 0.2.2 (path+file:///Users/egger/OSS/nucleo-f042k6)","profile":{"debug_assertions":false,"debuginfo":2,"opt_level":"s","overflow_checks":false,"test":false},"reason":"compiler-artifact","target":{"crate_types":["bin"],"edition":"2015","kind":["example"],"name":"gpio_hal_blinky","src_path":"/Users/egger/OSS/nucleo-f042k6/examples/gpio_hal_blinky.rs"}}
    Finished release [optimized + debuginfo] target(s) in 0.09s

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on June 24, 2024

Fixed. You can try again.

from cargo-bloat.

therealprof avatar therealprof commented on June 24, 2024

Indeed. Works now! Thanks so much for caring.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on June 24, 2024

Good. Then I will publish a new version soon.

from cargo-bloat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.