[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 beta-2021-09-08 for beta-1.56-1 [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 beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47e6050cd3213b2525915b4a8ad4519b5c7022d474ce80109323de6e9477348a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "47e6050cd3213b2525915b4a8ad4519b5c7022d474ce80109323de6e9477348a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47e6050cd3213b2525915b4a8ad4519b5c7022d474ce80109323de6e9477348a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47e6050cd3213b2525915b4a8ad4519b5c7022d474ce80109323de6e9477348a", kill_on_drop: false }` [INFO] [stdout] 47e6050cd3213b2525915b4a8ad4519b5c7022d474ce80109323de6e9477348a [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=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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b19a8649d36881088ad064d104ad74aa71028c3df5c1bcf806edd0433630b0c9 [INFO] running `Command { std: "docker" "start" "-a" "b19a8649d36881088ad064d104ad74aa71028c3df5c1bcf806edd0433630b0c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling same-file v1.0.4 [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 16.15s [INFO] running `Command { std: "docker" "inspect" "b19a8649d36881088ad064d104ad74aa71028c3df5c1bcf806edd0433630b0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19a8649d36881088ad064d104ad74aa71028c3df5c1bcf806edd0433630b0c9", kill_on_drop: false }` [INFO] [stdout] b19a8649d36881088ad064d104ad74aa71028c3df5c1bcf806edd0433630b0c9 [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=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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e125daae44e3e0ec174729792a5e44bfe775df0f58c6eaef1d3fcda5fd1a6278 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e125daae44e3e0ec174729792a5e44bfe775df0f58c6eaef1d3fcda5fd1a6278", 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.86s [INFO] running `Command { std: "docker" "inspect" "e125daae44e3e0ec174729792a5e44bfe775df0f58c6eaef1d3fcda5fd1a6278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e125daae44e3e0ec174729792a5e44bfe775df0f58c6eaef1d3fcda5fd1a6278", kill_on_drop: false }` [INFO] [stdout] e125daae44e3e0ec174729792a5e44bfe775df0f58c6eaef1d3fcda5fd1a6278 [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=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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e669ff2c7e1389bcd9ff246686121607d80021b6f36340c1afde0d14ebea6de [INFO] running `Command { std: "docker" "start" "-a" "6e669ff2c7e1389bcd9ff246686121607d80021b6f36340c1afde0d14ebea6de", 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.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pero-d251ff994ec1a113) [INFO] [stdout] running 2 tests [INFO] [stdout] test statistics::test_calc_statistics ... ok [INFO] [stdout] test display::test_format_number ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e669ff2c7e1389bcd9ff246686121607d80021b6f36340c1afde0d14ebea6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e669ff2c7e1389bcd9ff246686121607d80021b6f36340c1afde0d14ebea6de", kill_on_drop: false }` [INFO] [stdout] 6e669ff2c7e1389bcd9ff246686121607d80021b6f36340c1afde0d14ebea6de