[INFO] cloning repository https://github.com/aleosolutions/tvilling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleosolutions/tvilling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleosolutions%2Ftvilling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleosolutions%2Ftvilling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfb44a6e57e49dd787a9dcd764e5b6d7502ae688 [INFO] checking aleosolutions/tvilling/cfb44a6e57e49dd787a9dcd764e5b6d7502ae688 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleosolutions%2Ftvilling" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleosolutions/tvilling on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aleosolutions/tvilling [INFO] finished tweaking git repo https://github.com/aleosolutions/tvilling [INFO] tweaked toml for git repo https://github.com/aleosolutions/tvilling written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aleosolutions/tvilling 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd8741d26bb8945b9504ebb6d0f12fe7a8aee38e272766bc6c376cc71335c0a9 [INFO] running `Command { std: "docker" "start" "-a" "dd8741d26bb8945b9504ebb6d0f12fe7a8aee38e272766bc6c376cc71335c0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd8741d26bb8945b9504ebb6d0f12fe7a8aee38e272766bc6c376cc71335c0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd8741d26bb8945b9504ebb6d0f12fe7a8aee38e272766bc6c376cc71335c0a9", kill_on_drop: false }` [INFO] [stdout] dd8741d26bb8945b9504ebb6d0f12fe7a8aee38e272766bc6c376cc71335c0a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dbbde091edb01446f8a9e73bb33b591985caa0593e5bb808e243a83a8a997f8 [INFO] running `Command { std: "docker" "start" "-a" "4dbbde091edb01446f8a9e73bb33b591985caa0593e5bb808e243a83a8a997f8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking base64ct v1.3.3 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pem-rfc7468 v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking ff v0.11.0 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling paho-mqtt-sys v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking tracing-subscriber v0.3.9 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling eyre v0.6.7 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pkcs1 v0.2.4 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking owo-colors v3.2.0 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Compiling mockall_derive v0.11.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking p256 v0.9.0 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking ed25519-compact v1.0.11 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking rsa v0.5.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking p256 v0.10.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Compiling derive_state_machine_future v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking hmac-sha256 v1.0.0 [INFO] [stderr] Checking hmac-sha512 v1.0.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking coarsetime v0.1.21 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking rent_to_own v0.1.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking hmac-sha1-compact v1.1.1 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v1.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking google-cloud-iot-jwt v0.1.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking gpio-cdev v0.5.1 [INFO] [stderr] Checking state_machine_future v0.2.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking mockall v0.11.0 [INFO] [stderr] Checking jwt-simple v0.10.8 [INFO] [stderr] Checking paho-mqtt v0.10.0 [INFO] [stderr] Checking tvilling v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: field `gpio_line` is never read [INFO] [stdout] --> src/manufacturing_components/feeder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Feeder { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_new_material` is never used [INFO] [stdout] --> src/manufacturing_components/feeder.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Feeder { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn add_new_material(&mut self, new_material_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Depressed` is never constructed [INFO] [stdout] --> src/manufacturing_components/piston.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum PistonStates { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Depressed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpio_line` and `event_handle` are never read [INFO] [stdout] --> src/manufacturing_components/piston.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Piston { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub event_handle: AsyncLineEventHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PistonActions` is never used [INFO] [stdout] --> src/manufacturing_components/piston.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | trait PistonActions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/manufacturing_components/program.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SimplifiedScenario2 { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 13 | line: gpio_cdev::Line, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Position15` and `Position66` are never constructed [INFO] [stdout] --> src/manufacturing_components/robot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum RobotPosition { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Position15, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Position66, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpio_line` and `event_handle` are never read [INFO] [stdout] --> src/manufacturing_components/robot.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Robot { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | pub event_handle: AsyncLineEventHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `async_next_event` is never used [INFO] [stdout] --> src/manufacturing_components/robot.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl Robot { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | async fn async_next_event(self: &mut Self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | while let Some(event) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | while let Some(msg) = msg_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | while let Some(msg) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/gcp_iot/message.rs (1 fix) [INFO] [stdout] warning: field `gpio_line` is never read [INFO] [stdout] --> src/manufacturing_components/feeder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Feeder { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_new_material` is never used [INFO] [stdout] --> src/manufacturing_components/feeder.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Feeder { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn add_new_material(&mut self, new_material_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Depressed` is never constructed [INFO] [stdout] --> src/manufacturing_components/piston.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum PistonStates { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Depressed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpio_line` and `event_handle` are never read [INFO] [stdout] --> src/manufacturing_components/piston.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Piston { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub event_handle: AsyncLineEventHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PistonActions` is never used [INFO] [stdout] --> src/manufacturing_components/piston.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | trait PistonActions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/manufacturing_components/piston.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Piston { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 55 | pub fn new(name: S, chip: &mut Chip, line: u32) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/manufacturing_components/program.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SimplifiedScenario2 { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 13 | line: gpio_cdev::Line, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Position15` and `Position66` are never constructed [INFO] [stdout] --> src/manufacturing_components/robot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum RobotPosition { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Position15, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Position66, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpio_line` and `event_handle` are never read [INFO] [stdout] --> src/manufacturing_components/robot.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Robot { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | pub event_handle: AsyncLineEventHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `async_next_event` are never used [INFO] [stdout] --> src/manufacturing_components/robot.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Robot { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(name: S, chip: &mut Chip, line: u32) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | async fn async_next_event(self: &mut Self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | while let Some(event) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | while let Some(msg) = msg_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking tvilling v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0412]: cannot find type `StartRequest` in this scope [INFO] [stdout] --> src/gcp_iot/message.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let _request: StartRequest = serde_json::from_str(json_msg).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 11 + use crate::StartRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StartRequest` in this scope [INFO] [stdout] --> src/gcp_iot/message.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let _request: StartRequest = serde_json::from_str(json_msg).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 11 + use crate::StartRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gpio_line` is never read [INFO] [stdout] --> src/manufacturing_components/feeder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Feeder { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_new_material` is never used [INFO] [stdout] --> src/manufacturing_components/feeder.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Feeder { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn add_new_material(&mut self, new_material_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Depressed` is never constructed [INFO] [stdout] --> src/manufacturing_components/piston.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum PistonStates { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Depressed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpio_line` and `event_handle` are never read [INFO] [stdout] --> src/manufacturing_components/piston.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Piston { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub event_handle: AsyncLineEventHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PistonActions` is never used [INFO] [stdout] --> src/manufacturing_components/piston.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | trait PistonActions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/manufacturing_components/piston.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Piston { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 55 | pub fn new(name: S, chip: &mut Chip, line: u32) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/manufacturing_components/program.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SimplifiedScenario2 { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 13 | line: gpio_cdev::Line, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Position15` and `Position66` are never constructed [INFO] [stdout] --> src/manufacturing_components/robot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum RobotPosition { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Position15, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Position66, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpio_line` and `event_handle` are never read [INFO] [stdout] --> src/manufacturing_components/robot.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Robot { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | gpio_line: Line, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | pub event_handle: AsyncLineEventHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `async_next_event` are never used [INFO] [stdout] --> src/manufacturing_components/robot.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Robot { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(name: S, chip: &mut Chip, line: u32) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | async fn async_next_event(self: &mut Self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tvilling` (bin "tvilling" test) due to 3 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4dbbde091edb01446f8a9e73bb33b591985caa0593e5bb808e243a83a8a997f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbbde091edb01446f8a9e73bb33b591985caa0593e5bb808e243a83a8a997f8", kill_on_drop: false }` [INFO] [stdout] 4dbbde091edb01446f8a9e73bb33b591985caa0593e5bb808e243a83a8a997f8