[INFO] fetching crate usbd-serial 0.1.1... [INFO] checking usbd-serial-0.1.1 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate usbd-serial 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate usbd-serial 0.1.1 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate usbd-serial 0.1.1 [INFO] finished tweaking crates.io crate usbd-serial 0.1.1 [INFO] tweaked toml for crates.io crate usbd-serial 0.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9930ddd68d0f28d40c5c30f9792c0e9b4462d528cba256b96d801ba3dc41242 [INFO] running `Command { std: "docker" "start" "-a" "c9930ddd68d0f28d40c5c30f9792c0e9b4462d528cba256b96d801ba3dc41242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9930ddd68d0f28d40c5c30f9792c0e9b4462d528cba256b96d801ba3dc41242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9930ddd68d0f28d40c5c30f9792c0e9b4462d528cba256b96d801ba3dc41242", kill_on_drop: false }` [INFO] [stdout] c9930ddd68d0f28d40c5c30f9792c0e9b4462d528cba256b96d801ba3dc41242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e18bf771275bf0c6997eb05eb35d7910f0916ba83929a917b4b7ef3a1c2aa5a5 [INFO] running `Command { std: "docker" "start" "-a" "e18bf771275bf0c6997eb05eb35d7910f0916ba83929a917b4b7ef3a1c2aa5a5", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking usb-device v0.2.8 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Checking usbd-serial v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic_array` [INFO] [stdout] --> src/buffer.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | type Buf = crate::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `generic_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/serial_port.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/serial_port.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/serial_port.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/serial_port.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/buffer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | &self.store.borrow_mut()[self.wpos..self.wpos+count].copy_from_slice(&data[..count]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/serial_port.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | &data[..buf_data.len()].copy_from_slice(buf_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `usbd-serial` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e18bf771275bf0c6997eb05eb35d7910f0916ba83929a917b4b7ef3a1c2aa5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e18bf771275bf0c6997eb05eb35d7910f0916ba83929a917b4b7ef3a1c2aa5a5", kill_on_drop: false }` [INFO] [stdout] e18bf771275bf0c6997eb05eb35d7910f0916ba83929a917b4b7ef3a1c2aa5a5