[INFO] cloning repository https://github.com/peschkaj/rust-101 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peschkaj/rust-101" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 887f5b53af9043a4dec517735ac38f21baefe7ac [INFO] checking peschkaj/rust-101 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peschkaj/rust-101 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/peschkaj/rust-101 [INFO] finished tweaking git repo https://github.com/peschkaj/rust-101 [INFO] tweaked toml for git repo https://github.com/peschkaj/rust-101 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/peschkaj/rust-101 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47d15c95ebeb13f17ab1404905c0dcb63372aef8cef7c61d1aa9ac988f6c5a1c [INFO] running `Command { std: "docker" "start" "-a" "47d15c95ebeb13f17ab1404905c0dcb63372aef8cef7c61d1aa9ac988f6c5a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47d15c95ebeb13f17ab1404905c0dcb63372aef8cef7c61d1aa9ac988f6c5a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d15c95ebeb13f17ab1404905c0dcb63372aef8cef7c61d1aa9ac988f6c5a1c", kill_on_drop: false }` [INFO] [stdout] 47d15c95ebeb13f17ab1404905c0dcb63372aef8cef7c61d1aa9ac988f6c5a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7d6d6839c414a5d48aa190b9e955465f25f678c5ff1e1782d0a3325ce29a78 [INFO] running `Command { std: "docker" "start" "-a" "0c7d6d6839c414a5d48aa190b9e955465f25f678c5ff1e1782d0a3325ce29a78", kill_on_drop: false }` [INFO] [stderr] Checking rust-101 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `` [INFO] [stdout] --> src/part03.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | impl [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `` [INFO] [stdout] --> src/part03.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | impl [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `main` in module `part03` [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | part03::main(); [INFO] [stdout] | ^^^^ not found in `part03` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 84 | use part00::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part01::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part02::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part09::main; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn register(&mut self, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | callbacks: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `main` in module `part03` [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | part03::main(); [INFO] [stdout] | ^^^^ not found in `part03` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 84 | use part00::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part01::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part02::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part09::main; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | thread::sleep_ms(15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | thread::sleep_ms(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | thread::sleep_ms(5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn register(&mut self, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | callbacks: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | thread::sleep_ms(15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | thread::sleep_ms(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | thread::sleep_ms(5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-101` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0c7d6d6839c414a5d48aa190b9e955465f25f678c5ff1e1782d0a3325ce29a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7d6d6839c414a5d48aa190b9e955465f25f678c5ff1e1782d0a3325ce29a78", kill_on_drop: false }` [INFO] [stdout] 0c7d6d6839c414a5d48aa190b9e955465f25f678c5ff1e1782d0a3325ce29a78