[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] testing peschkaj/rust-101 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peschkaj/rust-101 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2776731cea4dc0ada4c7f6dc851dd25855ed72300ee69601f560bd7e94347092 [INFO] running `Command { std: "docker" "start" "-a" "2776731cea4dc0ada4c7f6dc851dd25855ed72300ee69601f560bd7e94347092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2776731cea4dc0ada4c7f6dc851dd25855ed72300ee69601f560bd7e94347092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2776731cea4dc0ada4c7f6dc851dd25855ed72300ee69601f560bd7e94347092", kill_on_drop: false }` [INFO] [stdout] 2776731cea4dc0ada4c7f6dc851dd25855ed72300ee69601f560bd7e94347092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b8a80e25a5e7f376cf23d2fcab8722b514ef373b1f0cc8c765cce0a74aa928f [INFO] running `Command { std: "docker" "start" "-a" "9b8a80e25a5e7f376cf23d2fcab8722b514ef373b1f0cc8c765cce0a74aa928f", kill_on_drop: false }` [INFO] [stderr] Compiling 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[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:21 [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:21 [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:17 [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] | ^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - callbacks: Vec>, [INFO] [stdout] 34 + callbacks: Vec>, [INFO] [stdout] | [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] | ^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - callbacks: Vec>, [INFO] [stdout] 25 + callbacks: Vec>, [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - callbacks: Vec>>, [INFO] [stdout] 107 + callbacks: Vec>>, [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn register(&mut self, callback: Box) { [INFO] [stdout] 44 + pub fn register(&mut self, callback: Box) { [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` due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b8a80e25a5e7f376cf23d2fcab8722b514ef373b1f0cc8c765cce0a74aa928f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b8a80e25a5e7f376cf23d2fcab8722b514ef373b1f0cc8c765cce0a74aa928f", kill_on_drop: false }` [INFO] [stdout] 9b8a80e25a5e7f376cf23d2fcab8722b514ef373b1f0cc8c765cce0a74aa928f