[INFO] cloning repository https://github.com/mrodz/odroid-show-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrodz/odroid-show-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrodz%2Fodroid-show-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrodz%2Fodroid-show-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ef5a0f40716d9ebfd2bced9206e41e2de18bd7f [INFO] building mrodz/odroid-show-2 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrodz%2Fodroid-show-2" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrodz/odroid-show-2 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mrodz/odroid-show-2 [INFO] finished tweaking git repo https://github.com/mrodz/odroid-show-2 [INFO] tweaked toml for git repo https://github.com/mrodz/odroid-show-2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mrodz/odroid-show-2 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusb v0.9.2 [INFO] [stderr] Downloaded libusb1-sys v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f74660e5b8889e1432af6db99edce52fd7446124d3d2fd0180dee08c005759c0 [INFO] running `Command { std: "docker" "start" "-a" "f74660e5b8889e1432af6db99edce52fd7446124d3d2fd0180dee08c005759c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f74660e5b8889e1432af6db99edce52fd7446124d3d2fd0180dee08c005759c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f74660e5b8889e1432af6db99edce52fd7446124d3d2fd0180dee08c005759c0", kill_on_drop: false }` [INFO] [stdout] f74660e5b8889e1432af6db99edce52fd7446124d3d2fd0180dee08c005759c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2583bf245d23ca2ce3b10ec102c5a0c468349e0de7ba1f1b6f775f37eacc7f23 [INFO] running `Command { std: "docker" "start" "-a" "2583bf245d23ca2ce3b10ec102c5a0c468349e0de7ba1f1b6f775f37eacc7f23", kill_on_drop: false }` [INFO] [stderr] Compiling libusb1-sys v0.6.4 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling rusb v0.9.2 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling odroid-show-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `config_descriptor`, `interface_channel`, `io_out`, and `io_in` are never read [INFO] [stdout] --> src/driver/usb.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct OdroidShow2<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 71 | descriptor: DeviceDescriptor, [INFO] [stdout] 72 | config_descriptor: ConfigDescriptor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | handle: DeviceHandle, [INFO] [stdout] 74 | interface_channel: InterfaceWrapper<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | io_out: Endpoint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | io_in: Endpoint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACKNOWLEDGE_BYTE` is never used [INFO] [stdout] --> src/driver/usb.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | const ACKNOWLEDGE_BYTE: u8 = 0x06; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OdroidShow2Packet` is never constructed [INFO] [stdout] --> src/driver/usb.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | pub(in crate::driver) struct OdroidShow2Packet<'device, 'data> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start_transaction`, and `check_is_ready_to_recieve` are never used [INFO] [stdout] --> src/driver/usb.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'device, 'data> OdroidShow2Packet<'device, 'data> { [INFO] [stdout] | ------------------------------------------------------ associated items in this implementation [INFO] [stdout] 114 | fn new(payload: &'data str, device: &'device OdroidShow2<'device>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(in crate::driver) fn start_transaction(&mut self, timeout: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub(in crate::driver) fn check_is_ready_to_recieve(&mut self, timeout: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_packet` is never used [INFO] [stdout] --> src/driver/usb.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 199 | impl<'device> OdroidShow2<'device> { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub(in crate::driver) fn into_packet<'data: 'device>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "2583bf245d23ca2ce3b10ec102c5a0c468349e0de7ba1f1b6f775f37eacc7f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2583bf245d23ca2ce3b10ec102c5a0c468349e0de7ba1f1b6f775f37eacc7f23", kill_on_drop: false }` [INFO] [stdout] 2583bf245d23ca2ce3b10ec102c5a0c468349e0de7ba1f1b6f775f37eacc7f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 781b95d18fe46f29a18589a09c95070ac7be2a86177765e2b3e8bb58d91b7c5c [INFO] running `Command { std: "docker" "start" "-a" "781b95d18fe46f29a18589a09c95070ac7be2a86177765e2b3e8bb58d91b7c5c", kill_on_drop: false }` [INFO] [stderr] Compiling odroid-show-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `config_descriptor`, `interface_channel`, `io_out`, and `io_in` are never read [INFO] [stdout] --> src/driver/usb.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct OdroidShow2<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 71 | descriptor: DeviceDescriptor, [INFO] [stdout] 72 | config_descriptor: ConfigDescriptor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | handle: DeviceHandle, [INFO] [stdout] 74 | interface_channel: InterfaceWrapper<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | io_out: Endpoint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | io_in: Endpoint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACKNOWLEDGE_BYTE` is never used [INFO] [stdout] --> src/driver/usb.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | const ACKNOWLEDGE_BYTE: u8 = 0x06; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OdroidShow2Packet` is never constructed [INFO] [stdout] --> src/driver/usb.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | pub(in crate::driver) struct OdroidShow2Packet<'device, 'data> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start_transaction`, and `check_is_ready_to_recieve` are never used [INFO] [stdout] --> src/driver/usb.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'device, 'data> OdroidShow2Packet<'device, 'data> { [INFO] [stdout] | ------------------------------------------------------ associated items in this implementation [INFO] [stdout] 114 | fn new(payload: &'data str, device: &'device OdroidShow2<'device>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(in crate::driver) fn start_transaction(&mut self, timeout: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub(in crate::driver) fn check_is_ready_to_recieve(&mut self, timeout: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_packet` is never used [INFO] [stdout] --> src/driver/usb.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 199 | impl<'device> OdroidShow2<'device> { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub(in crate::driver) fn into_packet<'data: 'device>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config_descriptor` and `interface_channel` are never read [INFO] [stdout] --> src/driver/usb.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct OdroidShow2<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 71 | descriptor: DeviceDescriptor, [INFO] [stdout] 72 | config_descriptor: ConfigDescriptor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | handle: DeviceHandle, [INFO] [stdout] 74 | interface_channel: InterfaceWrapper<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/driver/usb.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub(in crate::driver) struct OdroidShow2Packet<'device, 'data> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | payload: &'data str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_is_ready_to_recieve` is never used [INFO] [stdout] --> src/driver/usb.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'device, 'data> OdroidShow2Packet<'device, 'data> { [INFO] [stdout] | ------------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub(in crate::driver) fn check_is_ready_to_recieve(&mut self, timeout: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "781b95d18fe46f29a18589a09c95070ac7be2a86177765e2b3e8bb58d91b7c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781b95d18fe46f29a18589a09c95070ac7be2a86177765e2b3e8bb58d91b7c5c", kill_on_drop: false }` [INFO] [stdout] 781b95d18fe46f29a18589a09c95070ac7be2a86177765e2b3e8bb58d91b7c5c