[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#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fpero" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akr4/pero on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-0/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25571825049a6d3b109598c336317a63037f730f620e5b1dccf5972efc8c87cb [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" "25571825049a6d3b109598c336317a63037f730f620e5b1dccf5972efc8c87cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25571825049a6d3b109598c336317a63037f730f620e5b1dccf5972efc8c87cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25571825049a6d3b109598c336317a63037f730f620e5b1dccf5972efc8c87cb", kill_on_drop: false }` [INFO] [stdout] 25571825049a6d3b109598c336317a63037f730f620e5b1dccf5972efc8c87cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8c7b4e82190f47795fa77e508ceeb01cc5592e5ab76dcdf43a948c70c55f616 [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" "e8c7b4e82190f47795fa77e508ceeb01cc5592e5ab76dcdf43a948c70c55f616", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling colored v1.6.1 [INFO] [stderr] Compiling textwrap v0.10.0 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/statistics.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | ITER: IntoIterator>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 12.69s [INFO] running `Command { std: "docker" "inspect" "e8c7b4e82190f47795fa77e508ceeb01cc5592e5ab76dcdf43a948c70c55f616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c7b4e82190f47795fa77e508ceeb01cc5592e5ab76dcdf43a948c70c55f616", kill_on_drop: false }` [INFO] [stdout] e8c7b4e82190f47795fa77e508ceeb01cc5592e5ab76dcdf43a948c70c55f616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8520dd20238be70fe10c062f864e9c5eafa47543e4a78b4fc6f50ab848b6f45b [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" "8520dd20238be70fe10c062f864e9c5eafa47543e4a78b4fc6f50ab848b6f45b", 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/statistics.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | ITER: IntoIterator>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Project` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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.43s [INFO] running `Command { std: "docker" "inspect" "8520dd20238be70fe10c062f864e9c5eafa47543e4a78b4fc6f50ab848b6f45b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8520dd20238be70fe10c062f864e9c5eafa47543e4a78b4fc6f50ab848b6f45b", kill_on_drop: false }` [INFO] [stdout] 8520dd20238be70fe10c062f864e9c5eafa47543e4a78b4fc6f50ab848b6f45b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fe254ae9468f2ef422b9b5fd4d4f5b96d2194b94d0ebbd9fc2af429a62241e49 [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" "fe254ae9468f2ef422b9b5fd4d4f5b96d2194b94d0ebbd9fc2af429a62241e49", kill_on_drop: false }` [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pero-a65cda9ffcc1df3c) [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" "fe254ae9468f2ef422b9b5fd4d4f5b96d2194b94d0ebbd9fc2af429a62241e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe254ae9468f2ef422b9b5fd4d4f5b96d2194b94d0ebbd9fc2af429a62241e49", kill_on_drop: false }` [INFO] [stdout] fe254ae9468f2ef422b9b5fd4d4f5b96d2194b94d0ebbd9fc2af429a62241e49