[INFO] cloning repository https://github.com/fan2nd/daplink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fan2nd/daplink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffan2nd%2Fdaplink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffan2nd%2Fdaplink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96fc94ad1e2a89d713355ae2d12975d725e13150 [INFO] checking fan2nd/daplink against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffan2nd%2Fdaplink" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fan2nd/daplink on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fan2nd/daplink [INFO] finished tweaking git repo https://github.com/fan2nd/daplink [INFO] tweaked toml for git repo https://github.com/fan2nd/daplink written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fan2nd/daplink 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nusb v0.1.10 [INFO] [stderr] Downloaded bitfield v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c9ad243ea21b9ead746645e05db0185cce02567c4daef4968f5b8a9e12e77a9 [INFO] running `Command { std: "docker" "start" "-a" "9c9ad243ea21b9ead746645e05db0185cce02567c4daef4968f5b8a9e12e77a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9ad243ea21b9ead746645e05db0185cce02567c4daef4968f5b8a9e12e77a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9ad243ea21b9ead746645e05db0185cce02567c4daef4968f5b8a9e12e77a9", kill_on_drop: false }` [INFO] [stdout] 9c9ad243ea21b9ead746645e05db0185cce02567c4daef4968f5b8a9e12e77a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46a5cbf8ab0ab5fac3223d891845796d64e167355f7c390ffeb2a2a43591fd6d [INFO] running `Command { std: "docker" "start" "-a" "46a5cbf8ab0ab5fac3223d891845796d64e167355f7c390ffeb2a2a43591fd6d", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking bitfield v0.16.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking nusb v0.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking daplink v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::CommandId` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::CommandId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::CommandId` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::CommandId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/command/general/info.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | let str = std::str::from_utf8(&buffer[2..]).map_err(|x| DapError::CommandError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/command/general/info.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | let str = std::str::from_utf8(&buffer[2..]).map_err(|x| DapError::CommandError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequences` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequences` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapLink` is never constructed [INFO] [stdout] --> src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct DapLink { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapLink` is never constructed [INFO] [stdout] --> src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct DapLink { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `list` and `open` are never used [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl DapLink { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 21 | fn list() -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn open(deviceinfo: &DeviceInfo) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `list` and `open` are never used [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl DapLink { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 21 | fn list() -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn open(deviceinfo: &DeviceInfo) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/command/general/info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum InfoType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 57 | VendorName = 0x01, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | ProductName = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | SerialNumber = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | DapProtocolVersion = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | TargetDeviceVendor = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | TargetDeviceName = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | TargetBoardVendor = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | TargetBoardName = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | ProductFirmwareVersion = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | Capabilities = 0xf0, [INFO] [stdout] 67 | UartReceiveBufferSize = 0xfb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | UartTransmitBufferSize = 0xfc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | SwoTraceBufferSize = 0xfd, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/command/general/info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum InfoType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 57 | VendorName = 0x01, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | ProductName = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | SerialNumber = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | DapProtocolVersion = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | TargetDeviceVendor = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | TargetDeviceName = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | TargetBoardVendor = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | TargetBoardName = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | ProductFirmwareVersion = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | Capabilities = 0xf0, [INFO] [stdout] 67 | UartReceiveBufferSize = 0xfb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | UartTransmitBufferSize = 0xfc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | SwoTraceBufferSize = 0xfd, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_TCK_ONE_SEQUENCE` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MAX_TCK_ONE_SEQUENCE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_TCK_ONE_SEQUENCE` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MAX_TCK_ONE_SEQUENCE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct JtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct JtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `append_bit` are never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl JtagSequence { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 11 | fn new(tms: bool, tdi: bool, tdo_capture: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn append_bit(&mut self, tms: bool, tdi: bool, tdo_capture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CmdJtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct CmdJtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl CmdJtagSequence { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `append_bit` are never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl JtagSequence { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 11 | fn new(tms: bool, tdi: bool, tdo_capture: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn append_bit(&mut self, tms: bool, tdi: bool, tdo_capture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapSwjClock` is never constructed [INFO] [stdout] --> src/command/swj/swj_clock.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct DapSwjClock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CmdJtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct CmdJtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/swj/swj_clock.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl DapSwjClock { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 7 | fn new(speed_hz: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl CmdJtagSequence { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapSwjClock` is never constructed [INFO] [stdout] --> src/command/swj/swj_clock.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct DapSwjClock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/swj/swj_clock.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl DapSwjClock { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 7 | fn new(speed_hz: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.36s [INFO] running `Command { std: "docker" "inspect" "46a5cbf8ab0ab5fac3223d891845796d64e167355f7c390ffeb2a2a43591fd6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a5cbf8ab0ab5fac3223d891845796d64e167355f7c390ffeb2a2a43591fd6d", kill_on_drop: false }` [INFO] [stdout] 46a5cbf8ab0ab5fac3223d891845796d64e167355f7c390ffeb2a2a43591fd6d [INFO] checking fan2nd/daplink against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffan2nd%2Fdaplink" "/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/fan2nd/daplink on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fan2nd/daplink [INFO] finished tweaking git repo https://github.com/fan2nd/daplink [INFO] tweaked toml for git repo https://github.com/fan2nd/daplink written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fan2nd/daplink 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd5ffcdb7bb0b8e1ab8ba23d4a14223d4f4f7a329d7707baf149b9b3213f511b [INFO] running `Command { std: "docker" "start" "-a" "dd5ffcdb7bb0b8e1ab8ba23d4a14223d4f4f7a329d7707baf149b9b3213f511b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd5ffcdb7bb0b8e1ab8ba23d4a14223d4f4f7a329d7707baf149b9b3213f511b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5ffcdb7bb0b8e1ab8ba23d4a14223d4f4f7a329d7707baf149b9b3213f511b", kill_on_drop: false }` [INFO] [stdout] dd5ffcdb7bb0b8e1ab8ba23d4a14223d4f4f7a329d7707baf149b9b3213f511b [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=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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cc6adb3bdcbc03ed3c04154bf89c5822fe6df9fdc547c1125fcb06bff876591 [INFO] running `Command { std: "docker" "start" "-a" "8cc6adb3bdcbc03ed3c04154bf89c5822fe6df9fdc547c1125fcb06bff876591", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking bitfield v0.16.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking nusb v0.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking daplink v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::CommandId` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::CommandId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::CommandId` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::CommandId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/command/general/info.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | let str = std::str::from_utf8(&buffer[2..]).map_err(|x| DapError::CommandError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/command/general/info.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | let str = std::str::from_utf8(&buffer[2..]).map_err(|x| DapError::CommandError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequences` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequences` [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapLink` is never constructed [INFO] [stdout] --> src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct DapLink { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `list` and `open` are never used [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl DapLink { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 21 | fn list() -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn open(deviceinfo: &DeviceInfo) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapLink` is never constructed [INFO] [stdout] --> src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct DapLink { [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/command/general/info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum InfoType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 57 | VendorName = 0x01, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | ProductName = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | SerialNumber = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | DapProtocolVersion = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | TargetDeviceVendor = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | TargetDeviceName = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | TargetBoardVendor = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | TargetBoardName = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | ProductFirmwareVersion = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | Capabilities = 0xf0, [INFO] [stdout] 67 | UartReceiveBufferSize = 0xfb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | UartTransmitBufferSize = 0xfc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | SwoTraceBufferSize = 0xfd, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `list` and `open` are never used [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl DapLink { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 21 | fn list() -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn open(deviceinfo: &DeviceInfo) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_TCK_ONE_SEQUENCE` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MAX_TCK_ONE_SEQUENCE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct JtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `append_bit` are never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl JtagSequence { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 11 | fn new(tms: bool, tdi: bool, tdo_capture: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn append_bit(&mut self, tms: bool, tdi: bool, tdo_capture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CmdJtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct CmdJtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl CmdJtagSequence { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapSwjClock` is never constructed [INFO] [stdout] --> src/command/swj/swj_clock.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct DapSwjClock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/swj/swj_clock.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl DapSwjClock { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 7 | fn new(speed_hz: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/command/general/info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum InfoType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 57 | VendorName = 0x01, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | ProductName = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | SerialNumber = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | DapProtocolVersion = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | TargetDeviceVendor = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | TargetDeviceName = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | TargetBoardVendor = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | TargetBoardName = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | ProductFirmwareVersion = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | Capabilities = 0xf0, [INFO] [stdout] 67 | UartReceiveBufferSize = 0xfb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | UartTransmitBufferSize = 0xfc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | SwoTraceBufferSize = 0xfd, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoType` has a derived impl for the trait `Debug`, but this is 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/command/mod.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 53 | cmd: CMD, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(cmd.parse(response)?) [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: constant `MAX_TCK_ONE_SEQUENCE` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MAX_TCK_ONE_SEQUENCE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct JtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `append_bit` are never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl JtagSequence { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 11 | fn new(tms: bool, tdi: bool, tdo_capture: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn append_bit(&mut self, tms: bool, tdi: bool, tdo_capture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CmdJtagSequence` is never constructed [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct CmdJtagSequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/jtag/jtag_sequence.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl CmdJtagSequence { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 37 | fn new(max_bytes: usize, sequences: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DapSwjClock` is never constructed [INFO] [stdout] --> src/command/swj/swj_clock.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct DapSwjClock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/swj/swj_clock.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl DapSwjClock { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 7 | fn new(speed_hz: u16) -> Self { [INFO] [stdout] | ^^^ [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/command/mod.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 53 | cmd: CMD, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(cmd.parse(response)?) [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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `daplink` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `daplink` (lib) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8cc6adb3bdcbc03ed3c04154bf89c5822fe6df9fdc547c1125fcb06bff876591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc6adb3bdcbc03ed3c04154bf89c5822fe6df9fdc547c1125fcb06bff876591", kill_on_drop: false }` [INFO] [stdout] 8cc6adb3bdcbc03ed3c04154bf89c5822fe6df9fdc547c1125fcb06bff876591