[INFO] cloning repository https://github.com/rudihorn/light-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rudihorn/light-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudihorn%2Flight-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudihorn%2Flight-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e51b0b5b53b6e6b2cc45424873255b6163e391fe [INFO] checking rudihorn/light-cli/e51b0b5b53b6e6b2cc45424873255b6163e391fe against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudihorn%2Flight-cli" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rudihorn/light-cli on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/rudihorn/light-cli [INFO] finished tweaking git repo https://github.com/rudihorn/light-cli [INFO] tweaked toml for git repo https://github.com/rudihorn/light-cli written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding cortex-m v0.5.11 (available: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (available: v0.7.5) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding heapless v0.4.4 (available: v0.8.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding stm32f1xx-hal v0.2.1 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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] Downloading crates ... [INFO] [stderr] Downloaded panic-abort v0.3.2 [INFO] [stderr] Downloaded cortex-m v0.5.11 [INFO] [stderr] Downloaded stm32f1xx-hal v0.2.1 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded stm32f1 v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 093e7dd3677150df6b725d7badf4b40edbb4cb24a3f1d465b726db8b2072b0b2 [INFO] running `Command { std: "docker" "start" "-a" "093e7dd3677150df6b725d7badf4b40edbb4cb24a3f1d465b726db8b2072b0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "093e7dd3677150df6b725d7badf4b40edbb4cb24a3f1d465b726db8b2072b0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093e7dd3677150df6b725d7badf4b40edbb4cb24a3f1d465b726db8b2072b0b2", kill_on_drop: false }` [INFO] [stdout] 093e7dd3677150df6b725d7badf4b40edbb4cb24a3f1d465b726db8b2072b0b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233b2865fde49d8cdb2c4e83df8a873179e932588d9656d5eb94c9966e6b2332 [INFO] running `Command { std: "docker" "start" "-a" "233b2865fde49d8cdb2c4e83df8a873179e932588d9656d5eb94c9966e6b2332", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking light-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `heapless::RingBuffer` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use heapless::RingBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `RingBuffer` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | writer: &'a mut Write [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] 11 | writer: &'a mut dyn Write [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | writer: &'a mut Write [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] 11 | writer: &'a mut dyn Write [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokenizer.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [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] 137 | pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(writer: &'a mut Write) -> Self { [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] 39 | pub fn new(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [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] 47 | pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokenizer.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [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] 137 | pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(writer: &'a mut Write) -> Self { [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] 39 | pub fn new(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fill(&mut self, ser: &mut Read) -> nb::Result<(), E> { [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] 47 | pub fn fill(&mut self, ser: &mut dyn Read) -> nb::Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `light-cli` (lib test) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "233b2865fde49d8cdb2c4e83df8a873179e932588d9656d5eb94c9966e6b2332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233b2865fde49d8cdb2c4e83df8a873179e932588d9656d5eb94c9966e6b2332", kill_on_drop: false }` [INFO] [stdout] 233b2865fde49d8cdb2c4e83df8a873179e932588d9656d5eb94c9966e6b2332