[INFO] cloning repository https://github.com/dflemstr/arctos-can-driver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dflemstr/arctos-can-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdflemstr%2Farctos-can-driver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdflemstr%2Farctos-can-driver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 480680303cd83e67590a11c2ba40c6d9866dcdeb [INFO] checking dflemstr/arctos-can-driver/480680303cd83e67590a11c2ba40c6d9866dcdeb 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%2Fdflemstr%2Farctos-can-driver" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dflemstr/arctos-can-driver 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] started tweaking git repo https://github.com/dflemstr/arctos-can-driver [INFO] finished tweaking git repo https://github.com/dflemstr/arctos-can-driver [INFO] tweaked toml for git repo https://github.com/dflemstr/arctos-can-driver written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dflemstr/arctos-can-driver 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5be4730d43b2d5e9c6863d36ff6a32b0fbed220a238283b59312f4040220d75a [INFO] running `Command { std: "docker" "start" "-a" "5be4730d43b2d5e9c6863d36ff6a32b0fbed220a238283b59312f4040220d75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5be4730d43b2d5e9c6863d36ff6a32b0fbed220a238283b59312f4040220d75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be4730d43b2d5e9c6863d36ff6a32b0fbed220a238283b59312f4040220d75a", kill_on_drop: false }` [INFO] [stdout] 5be4730d43b2d5e9c6863d36ff6a32b0fbed220a238283b59312f4040220d75a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3dcf7bc9bb423d1208fbe2e64ebce8b3e3188e2f131d4618712b64db8ed4238f [INFO] running `Command { std: "docker" "start" "-a" "3dcf7bc9bb423d1208fbe2e64ebce8b3e3188e2f131d4618712b64db8ed4238f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking embedded-can v0.4.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking byte_conv v0.1.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking socketcan v3.4.0-pre.0 (https://github.com/socketcan-rs/socketcan-rs.git#a9228e12) [INFO] [stderr] Checking arctos-can-driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `gearing_factor` and `actuation_range` are never used [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Axis { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | fn gearing_factor(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn actuation_range(&self) -> Option<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/servo_cmd.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum ServoRequest { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 137 | ReadEncoderValueCarry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | ReadEncoderValueAddition, [INFO] [stdout] 139 | ReadSpeed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 140 | ReadPulses, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 141 | ReadIOPorts, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | ReadError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 143 | ReadEnPin, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 144 | ReadGoBackToZeroOnPowerOnStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | ReleaseMotorShaft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | ReadMotorShaftLockedRotor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | Calibrate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | SetCurrent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | SetSubdivision { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | SetEnPinActiveMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | SetDir { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | SetMotorShaftLockedRotor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | SetSubdivisionInterpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | SetCanBitRate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | SetCanId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | SetCanEnableResponses { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | SetKeyLocked { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | SetGroupId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | SetHome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | GoHome, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 195 | SetAxisZero, [INFO] [stdout] 196 | SetZeroOnPoweronMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | RestoreDefaults, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 203 | QueryStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | RunSpeedMode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | SaveRunModeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | RunPositionRelativePulsesMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | RunPositionRelativeMotionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServoRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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:421:33 [INFO] [stdout] | [INFO] [stdout] 421 | .unwrap_or_else(|e| Err(e.into())) [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] warning: methods `gearing_factor` and `actuation_range` are never used [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Axis { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | fn gearing_factor(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn actuation_range(&self) -> Option<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/servo_cmd.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum ServoRequest { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 137 | ReadEncoderValueCarry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | ReadEncoderValueAddition, [INFO] [stdout] 139 | ReadSpeed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 140 | ReadPulses, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 141 | ReadIOPorts, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | ReadError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 143 | ReadEnPin, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 144 | ReadGoBackToZeroOnPowerOnStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | ReleaseMotorShaft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | ReadMotorShaftLockedRotor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | Calibrate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | SetCurrent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | SetSubdivision { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | SetEnPinActiveMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | SetDir { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | SetMotorShaftLockedRotor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | SetSubdivisionInterpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | SetCanBitRate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | SetCanId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | SetCanEnableResponses { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | SetKeyLocked { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | SetGroupId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | SetHome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | GoHome, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 195 | SetAxisZero, [INFO] [stdout] 196 | SetZeroOnPoweronMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | RestoreDefaults, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 203 | QueryStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | RunSpeedMode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | SaveRunModeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | RunPositionRelativePulsesMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | RunPositionRelativeMotionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServoRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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:421:33 [INFO] [stdout] | [INFO] [stdout] 421 | .unwrap_or_else(|e| Err(e.into())) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arctos-can-driver` (bin "arctos-can-driver" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arctos-can-driver` (bin "arctos-can-driver") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3dcf7bc9bb423d1208fbe2e64ebce8b3e3188e2f131d4618712b64db8ed4238f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dcf7bc9bb423d1208fbe2e64ebce8b3e3188e2f131d4618712b64db8ed4238f", kill_on_drop: false }` [INFO] [stdout] 3dcf7bc9bb423d1208fbe2e64ebce8b3e3188e2f131d4618712b64db8ed4238f