[INFO] cloning repository https://github.com/EthanJamesLew/pwm-ctrl-stm32 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EthanJamesLew/pwm-ctrl-stm32" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanJamesLew%2Fpwm-ctrl-stm32", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanJamesLew%2Fpwm-ctrl-stm32'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dad95d087c7f52d5a5031bb6f67323bc50ee88bd [INFO] checking EthanJamesLew/pwm-ctrl-stm32/dad95d087c7f52d5a5031bb6f67323bc50ee88bd against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanJamesLew%2Fpwm-ctrl-stm32" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EthanJamesLew/pwm-ctrl-stm32 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/EthanJamesLew/pwm-ctrl-stm32 [INFO] finished tweaking git repo https://github.com/EthanJamesLew/pwm-ctrl-stm32 [INFO] tweaked toml for git repo https://github.com/EthanJamesLew/pwm-ctrl-stm32 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EthanJamesLew/pwm-ctrl-stm32 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26e66f3e27c21655357b12937834814e45ef5fd4f575c49325cbe8cbf6481d9b [INFO] running `Command { std: "docker" "start" "-a" "26e66f3e27c21655357b12937834814e45ef5fd4f575c49325cbe8cbf6481d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26e66f3e27c21655357b12937834814e45ef5fd4f575c49325cbe8cbf6481d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e66f3e27c21655357b12937834814e45ef5fd4f575c49325cbe8cbf6481d9b", kill_on_drop: false }` [INFO] [stdout] 26e66f3e27c21655357b12937834814e45ef5fd4f575c49325cbe8cbf6481d9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b11f1e57bdc6d4341a64ac40b8511b0713e4e874f77dc7104500261605716a18 [INFO] running `Command { std: "docker" "start" "-a" "b11f1e57bdc6d4341a64ac40b8511b0713e4e874f77dc7104500261605716a18", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling stm32f4 v0.14.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cortex-m-rtic v1.1.2 [INFO] [stderr] Checking micromath v2.0.0 [INFO] [stderr] Checking rtic-monotonic v1.0.0 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.7 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking gcd v2.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking fugit v0.3.5 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling heapless v0.7.14 [INFO] [stderr] Checking time v0.3.10 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Checking systick-monotonic v1.0.0 [INFO] [stderr] Checking panic-rtt-target v0.1.2 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking pwm_protocol v0.1.0 (/opt/rustwide/workdir/pwm-protocol) [INFO] [stdout] warning: unused import: `micromath::F32Ext` [INFO] [stdout] --> pwm-protocol/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use micromath::F32Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> pwm-protocol/src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> pwm-protocol/src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 72 | SignalType::SINUSOID => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 82 | SignalType::SQUARE => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 91 | SignalType::SPIKE => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | SignalType::SAW => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 109 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> pwm-protocol/src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> pwm-protocol/src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 72 | SignalType::SINUSOID => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 82 | SignalType::SQUARE => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 91 | SignalType::SPIKE => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 100 | SignalType::SAW => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 109 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> pwm-protocol/src/lib.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | for i in 0..self.table_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> pwm-protocol/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SignalType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 37 | fn from_str(orig: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> pwm-protocol/src/lib.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | for i in 0..self.table_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> pwm-protocol/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SignalType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 37 | fn from_str(orig: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rtic-syntax v1.0.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.4 [INFO] [stderr] Checking stm32f4xx-hal v0.13.2 [INFO] [stderr] Checking stm32f4-hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 390 | PwmOpCode::Frequency => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 395 | PwmOpCode::Phase => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 405 | PwmOpCode::Wavetype => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 419 | PwmOpCode::TableSize => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 437 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 390 | PwmOpCode::Frequency => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 395 | PwmOpCode::Phase => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 405 | PwmOpCode::Wavetype => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 419 | PwmOpCode::TableSize => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 437 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut rx_transfer = Transfer::init_peripheral_to_memory( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | let signal_lut = pwm_config.generate_lut().unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | / Shared { [INFO] [stdout] 257 | | led: led, [INFO] [stdout] 258 | | tx_transfer: tx, [INFO] [stdout] 259 | | rx_transfer: rx_transfer, [INFO] [stdout] ... | [INFO] [stdout] 265 | | pwm_config: pwm_config, [INFO] [stdout] 266 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f4-hello` (bin "stm32f4-hello" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut rx_transfer = Transfer::init_peripheral_to_memory( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | let signal_lut = pwm_config.generate_lut().unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | / Shared { [INFO] [stdout] 257 | | led: led, [INFO] [stdout] 258 | | tx_transfer: tx, [INFO] [stdout] 259 | | rx_transfer: rx_transfer, [INFO] [stdout] ... | [INFO] [stdout] 265 | | pwm_config: pwm_config, [INFO] [stdout] 266 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f4-hello` (bin "stm32f4-hello") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b11f1e57bdc6d4341a64ac40b8511b0713e4e874f77dc7104500261605716a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b11f1e57bdc6d4341a64ac40b8511b0713e4e874f77dc7104500261605716a18", kill_on_drop: false }` [INFO] [stdout] b11f1e57bdc6d4341a64ac40b8511b0713e4e874f77dc7104500261605716a18