[INFO] cloning repository https://github.com/davidko/stk500-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidko/stk500-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidko%2Fstk500-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidko%2Fstk500-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dce56fa4ab7a7ce71a050d800355b2d63342daaf [INFO] testing davidko/stk500-rs against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidko%2Fstk500-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidko/stk500-rs on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidko/stk500-rs [INFO] finished tweaking git repo https://github.com/davidko/stk500-rs [INFO] tweaked toml for git repo https://github.com/davidko/stk500-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/davidko/stk500-rs 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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4bf4d22e10c78ce4dbc66cfbb1bd85e1d8bf558052b05ac905aeced5ea5e5d1 [INFO] running `Command { std: "docker" "start" "-a" "e4bf4d22e10c78ce4dbc66cfbb1bd85e1d8bf558052b05ac905aeced5ea5e5d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4bf4d22e10c78ce4dbc66cfbb1bd85e1d8bf558052b05ac905aeced5ea5e5d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bf4d22e10c78ce4dbc66cfbb1bd85e1d8bf558052b05ac905aeced5ea5e5d1", kill_on_drop: false }` [INFO] [stdout] e4bf4d22e10c78ce4dbc66cfbb1bd85e1d8bf558052b05ac905aeced5ea5e5d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 669a1559c2349d7d699c9911b8b461737f41650a8b3067f475351e7b69006d05 [INFO] running `Command { std: "docker" "start" "-a" "669a1559c2349d7d699c9911b8b461737f41650a8b3067f475351e7b69006d05", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling futures v0.1.21 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scoped-tls v0.1.1 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.4.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling crossbeam-deque v0.3.0 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling tokio-executor v0.1.2 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.2 [INFO] [stderr] Compiling tokio-timer v0.2.1 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling tokio-udp v0.1.0 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio v0.1.5 [INFO] [stderr] Compiling tokio-core v0.1.16 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling stk500 v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | Box< Future, Error=oneshot::Canceled> > [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 | Box< dyn Future, Error=oneshot::Canceled> > [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub type ResponseFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub type ResponseFuture = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "669a1559c2349d7d699c9911b8b461737f41650a8b3067f475351e7b69006d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669a1559c2349d7d699c9911b8b461737f41650a8b3067f475351e7b69006d05", kill_on_drop: false }` [INFO] [stdout] 669a1559c2349d7d699c9911b8b461737f41650a8b3067f475351e7b69006d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a83100b160236311c9415cd3e34d2d0ddbd1fcb5f2e8aecef67cce8c68fb1b1d [INFO] running `Command { std: "docker" "start" "-a" "a83100b160236311c9415cd3e34d2d0ddbd1fcb5f2e8aecef67cce8c68fb1b1d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | Box< Future, Error=oneshot::Canceled> > [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 | Box< dyn Future, Error=oneshot::Canceled> > [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub type ResponseFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub type ResponseFuture = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling simple_logger v0.5.0 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling serialport v1.0.1 [INFO] [stderr] Compiling mio-serial v0.6.0 [INFO] [stderr] Compiling tokio-serial v0.6.0 [INFO] [stderr] Compiling stk500 v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | Box< Future, Error=oneshot::Canceled> > [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 | Box< dyn Future, Error=oneshot::Canceled> > [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub type ResponseFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub type ResponseFuture = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/lib.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let port = tokio_serial::Serial::from_path("/dev/ttyACM0", &settings, &handle).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.89s [INFO] running `Command { std: "docker" "inspect" "a83100b160236311c9415cd3e34d2d0ddbd1fcb5f2e8aecef67cce8c68fb1b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83100b160236311c9415cd3e34d2d0ddbd1fcb5f2e8aecef67cce8c68fb1b1d", kill_on_drop: false }` [INFO] [stdout] a83100b160236311c9415cd3e34d2d0ddbd1fcb5f2e8aecef67cce8c68fb1b1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 39ce67e8a5902628bb689a87ad64d11d737626bf0f67d8f5cc563aa28ebe4469 [INFO] running `Command { std: "docker" "start" "-a" "39ce67e8a5902628bb689a87ad64d11d737626bf0f67d8f5cc563aa28ebe4469", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 | pub type Response = Box, Error=oneshot::Canceled>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:255:27 [INFO] [stderr] | [INFO] [stderr] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 255 | write_cb: Option< Box)> >, // Function which writes to the microcontroller being programmed [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:181:14 [INFO] [stderr] | [INFO] [stderr] 181 | Box< Future, Error=oneshot::Canceled> > [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 181 | Box< dyn Future, Error=oneshot::Canceled> > [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codec.rs:16:31 [INFO] [stderr] | [INFO] [stderr] 16 | pub type ResponseFuture = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 | pub type ResponseFuture = Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/codec.rs:385:23 [INFO] [stderr] | [INFO] [stderr] 385 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 385 | type Future = Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `stk500` (lib) generated 5 warnings (run `cargo fix --lib -p stk500` to apply 5 suggestions) [INFO] [stderr] warning: unused variable: `port` [INFO] [stderr] --> src/lib.rs:513:13 [INFO] [stderr] | [INFO] [stderr] 513 | let port = tokio_serial::Serial::from_path("/dev/ttyACM0", &settings, &handle).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `stk500` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stk500-4865f7d4745d30eb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::async_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::async_test stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::async_test' panicked at src/lib.rs:486:74: [INFO] [stdout] Firmware file not found.: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60c4efddb122 - std::backtrace_rs::backtrace::libunwind::trace::h97da83aab53f337d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60c4efddb122 - std::backtrace_rs::backtrace::trace_unsynchronized::h07d9fad959b0b0c4 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60c4efddb122 - std::sys::backtrace::_print_fmt::h73b6844d523a91e6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60c4efddb122 - ::fmt::had50d3dbab4f9a49 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60c4efe012c3 - core::fmt::rt::Argument::fmt::h96dc2668ac588484 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/rt.rs:184:76 [INFO] [stdout] 5: 0x60c4efe012c3 - core::fmt::write::h3c068850dd3fcd11 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/mod.rs:1480:21 [INFO] [stdout] 6: 0x60c4efdd8743 - std::io::default_write_fmt::h9f5cac5e26eafb82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60c4efdd8743 - std::io::Write::write_fmt::h9be88ac981c80255 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x60c4efddaf72 - std::sys::backtrace::BacktraceLock::print::h160d33c700b1accf [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60c4efddc50c - std::panicking::default_hook::{{closure}}::hdccf862335980e92 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x60c4efddc362 - std::panicking::default_hook::h92ea296b4f4c5d78 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x60c4efd04a64 - as core::ops::function::Fn>::call::h58e2cb0c3aa8f900 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x60c4efd04a64 - test::test_main::{{closure}}::h068e739b3ff3ace9 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:136:21 [INFO] [stdout] 13: 0x60c4efddcf83 - as core::ops::function::Fn>::call::h4dc3b8e0d98a0945 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x60c4efddcf83 - std::panicking::rust_panic_with_hook::h53eb519a340d7090 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x60c4efddcc5a - std::panicking::begin_panic_handler::{{closure}}::h1b012222d781940d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x60c4efddb619 - std::sys::backtrace::__rust_end_short_backtrace::hb1c00a6a74936045 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x60c4efddc8ed - __rustc[3fad54a3e94379e3]::rust_begin_unwind [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x60c4efc96ff0 - core::panicking::panic_fmt::h5646b0c12be1dead [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x60c4efc97486 - core::result::unwrap_failed::hc06d646aff6e2a9a [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/result.rs:1704:5 [INFO] [stdout] 20: 0x60c4efcb2c0e - core::result::Result::expect::h4a469f02a9addf40 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/result.rs:1061:23 [INFO] [stdout] 21: 0x60c4efcb5133 - stk500::tests::async_test::h76cd58e150cc5a29 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:486:25 [INFO] [stdout] 22: 0x60c4efcb4f57 - stk500::tests::async_test::{{closure}}::hdc581a16b5099661 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:479:20 [INFO] [stdout] 23: 0x60c4efcac846 - core::ops::function::FnOnce::call_once::h31b0ab0ab4897f61 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x60c4efd0a3bb - core::ops::function::FnOnce::call_once::h36fc4a9de3ab6dc6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x60c4efd0a3bb - test::__rust_begin_short_backtrace::ha0a98bb69b358a31 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:638:18 [INFO] [stdout] 26: 0x60c4efd093af - test::run_test_in_process::{{closure}}::h8c178d13fba0a588 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:60 [INFO] [stdout] 27: 0x60c4efd093af - as core::ops::function::FnOnce<()>>::call_once::hcf9a13e44c998160 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x60c4efd093af - std::panicking::try::do_call::h4af5be696220e430 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x60c4efd093af - std::panicking::try::hbf49a526ff439d5e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x60c4efd093af - std::panic::catch_unwind::h73db1b343ad1c705 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x60c4efd093af - test::run_test_in_process::hef059ed743ea6437 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:27 [INFO] [stdout] 32: 0x60c4efd093af - test::run_test::{{closure}}::h9508bce7fbf1ad82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:582:43 [INFO] [stdout] 33: 0x60c4efccdb04 - test::run_test::{{closure}}::h70f94fa995999514 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:612:41 [INFO] [stdout] 34: 0x60c4efccdb04 - std::sys::backtrace::__rust_begin_short_backtrace::hfc7043e7c8324aca [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x60c4efcd13fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h599c966db81290c0 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x60c4efcd13fa - as core::ops::function::FnOnce<()>>::call_once::h499078bec004bb56 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x60c4efcd13fa - std::panicking::try::do_call::h336d5bb945571c50 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x60c4efcd13fa - std::panicking::try::hea8a9a2c11807957 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x60c4efcd13fa - std::panic::catch_unwind::hc46631a6d929f68d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x60c4efcd13fa - std::thread::Builder::spawn_unchecked_::{{closure}}::he5729da5506c58d1 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x60c4efcd13fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8b7f1215a4f7e46f [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x60c4efddecdb - as core::ops::function::FnOnce>::call_once::h5e2c5a5b1d7d1d9c [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x60c4efddecdb - as core::ops::function::FnOnce>::call_once::hc50cd23acd01680e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x60c4efddecdb - std::sys::pal::unix::thread::Thread::new::thread_start::hb3d0e19f380baa62 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 45: 0x70fe6f2e3aa4 - [INFO] [stdout] 46: 0x70fe6f370a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::async_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "39ce67e8a5902628bb689a87ad64d11d737626bf0f67d8f5cc563aa28ebe4469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ce67e8a5902628bb689a87ad64d11d737626bf0f67d8f5cc563aa28ebe4469", kill_on_drop: false }` [INFO] [stdout] 39ce67e8a5902628bb689a87ad64d11d737626bf0f67d8f5cc563aa28ebe4469