[INFO] cloning repository https://github.com/akr4/pero [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akr4/pero" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fpero", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fpero'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e40cabe5bedcb432fd7bee1f823a68eb0a88cb0 [INFO] testing akr4/pero against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fpero" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akr4/pero on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akr4/pero [INFO] finished tweaking git repo https://github.com/akr4/pero [INFO] tweaked toml for git repo https://github.com/akr4/pero written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/akr4/pero already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51fa5c06573601b00c9a69a1468d32d3684eb7d62ccdf26f250b2c5564af9687 [INFO] running `Command { std: "docker" "start" "-a" "51fa5c06573601b00c9a69a1468d32d3684eb7d62ccdf26f250b2c5564af9687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51fa5c06573601b00c9a69a1468d32d3684eb7d62ccdf26f250b2c5564af9687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51fa5c06573601b00c9a69a1468d32d3684eb7d62ccdf26f250b2c5564af9687", kill_on_drop: false }` [INFO] [stdout] 51fa5c06573601b00c9a69a1468d32d3684eb7d62ccdf26f250b2c5564af9687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e184401354578b03bb5d8f8941f2d05efe30ec41452e8938908612fb4cb68eb7 [INFO] running `Command { std: "docker" "start" "-a" "e184401354578b03bb5d8f8941f2d05efe30ec41452e8938908612fb4cb68eb7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling colored v1.6.1 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling pero v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cargo.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cargo.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Cargo::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn print_project(project: &Project) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradle.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradle.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Gradle::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maven.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maven.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Maven::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npm.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npm.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | path.parent().map(|p| Box::new(Npm::new(p)) as Box) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sbt.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sbt.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Sbt::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/statistics.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | ITER: IntoIterator>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | type Item = Box; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | type ProjectDetector = fn(path: &Path) -> Option>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | fn detect_project(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut projects = projects_map.entry(type_name).or_insert_with(Vec::new); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.91s [INFO] running `Command { std: "docker" "inspect" "e184401354578b03bb5d8f8941f2d05efe30ec41452e8938908612fb4cb68eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e184401354578b03bb5d8f8941f2d05efe30ec41452e8938908612fb4cb68eb7", kill_on_drop: false }` [INFO] [stdout] e184401354578b03bb5d8f8941f2d05efe30ec41452e8938908612fb4cb68eb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46b00e483188e916b702c2035289aa4b41879dc1ca004213d26dc7d92f13f651 [INFO] running `Command { std: "docker" "start" "-a" "46b00e483188e916b702c2035289aa4b41879dc1ca004213d26dc7d92f13f651", kill_on_drop: false }` [INFO] [stderr] Compiling pero v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cargo.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cargo.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Cargo::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn print_project(project: &Project) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradle.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradle.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Gradle::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maven.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/maven.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Maven::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npm.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npm.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | path.parent().map(|p| Box::new(Npm::new(p)) as Box) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sbt.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sbt.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|p| Box::new(Sbt::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/statistics.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | ITER: IntoIterator>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/statistics.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let p1: Box = Box::new(TestingProject {}); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | type Item = Box; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | type ProjectDetector = fn(path: &Path) -> Option>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | fn detect_project(path: &Path) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [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] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut projects = projects_map.entry(type_name).or_insert_with(Vec::new); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "46b00e483188e916b702c2035289aa4b41879dc1ca004213d26dc7d92f13f651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b00e483188e916b702c2035289aa4b41879dc1ca004213d26dc7d92f13f651", kill_on_drop: false }` [INFO] [stdout] 46b00e483188e916b702c2035289aa4b41879dc1ca004213d26dc7d92f13f651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d9e7fa4e3979ceb65bd39b5f358ac63c9880ccdddf1905b5561fa20f9224155 [INFO] running `Command { std: "docker" "start" "-a" "6d9e7fa4e3979ceb65bd39b5f358ac63c9880ccdddf1905b5561fa20f9224155", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cargo.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cargo.rs:10:53 [INFO] [stderr] | [INFO] [stderr] 10 | .map(|p| Box::new(Cargo::new(p)) as Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/display.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn print_project(project: &Project) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gradle.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gradle.rs:10:54 [INFO] [stderr] | [INFO] [stderr] 10 | .map(|p| Box::new(Gradle::new(p)) as Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maven.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/maven.rs:10:53 [INFO] [stderr] | [INFO] [stderr] 10 | .map(|p| Box::new(Maven::new(p)) as Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/npm.rs:7:42 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn detect(path: &Path) -> Option> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/npm.rs:12:60 [INFO] [stderr] | [INFO] [stderr] 12 | path.parent().map(|p| Box::new(Npm::new(p)) as Box) [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sbt.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn detect(path: &Path) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sbt.rs:10:51 [INFO] [stderr] | [INFO] [stderr] 10 | .map(|p| Box::new(Sbt::new(p)) as Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn project::Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/statistics.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | ITER: IntoIterator>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/statistics.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | let p1: Box = Box::new(TestingProject {}); [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | type Item = Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:50:54 [INFO] [stderr] | [INFO] [stderr] 50 | type ProjectDetector = fn(path: &Path) -> Option>; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:52:46 [INFO] [stderr] | [INFO] [stderr] 52 | fn detect_project(path: &Path) -> Option> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | let mut projects = projects_map.entry(type_name).or_insert_with(Vec::new); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pero` (bin "pero" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pero-efad19358ba9b790) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test display::test_format_number ... ok [INFO] [stdout] test statistics::test_calc_statistics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d9e7fa4e3979ceb65bd39b5f358ac63c9880ccdddf1905b5561fa20f9224155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9e7fa4e3979ceb65bd39b5f358ac63c9880ccdddf1905b5561fa20f9224155", kill_on_drop: false }` [INFO] [stdout] 6d9e7fa4e3979ceb65bd39b5f358ac63c9880ccdddf1905b5561fa20f9224155