[INFO] cloning repository https://github.com/rnestler/clonable-vec-of-trait-objects-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rnestler/clonable-vec-of-trait-objects-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frnestler%2Fclonable-vec-of-trait-objects-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frnestler%2Fclonable-vec-of-trait-objects-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a0e8b8273bc11e94f7dcf84a0a83d24eff74781 [INFO] checking rnestler/clonable-vec-of-trait-objects-rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frnestler%2Fclonable-vec-of-trait-objects-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rnestler/clonable-vec-of-trait-objects-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rnestler/clonable-vec-of-trait-objects-rs [INFO] finished tweaking git repo https://github.com/rnestler/clonable-vec-of-trait-objects-rs [INFO] tweaked toml for git repo https://github.com/rnestler/clonable-vec-of-trait-objects-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/rnestler/clonable-vec-of-trait-objects-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 249eaf186696618bc578ac19ace0e54cee24bb9b83629cce625e8a041d64a9b8 [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" "249eaf186696618bc578ac19ace0e54cee24bb9b83629cce625e8a041d64a9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "249eaf186696618bc578ac19ace0e54cee24bb9b83629cce625e8a041d64a9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249eaf186696618bc578ac19ace0e54cee24bb9b83629cce625e8a041d64a9b8", kill_on_drop: false }` [INFO] [stdout] 249eaf186696618bc578ac19ace0e54cee24bb9b83629cce625e8a041d64a9b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--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] a21a89ef6c6cdeb35f22888a150783915b217e585d6b2c62efb203b3681c201e [INFO] running `Command { std: "docker" "start" "-a" "a21a89ef6c6cdeb35f22888a150783915b217e585d6b2c62efb203b3681c201e", kill_on_drop: false }` [INFO] [stderr] Checking clonable-vec-of-trait-objects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn clone_vec(vec: &Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn clone_vec(vec: &Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn clone_vec(vec: &Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/solution_c.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn clone_vec(vec: &Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let vec: Vec> = vec![Box::new(A::new()), Box::new(B::new())]; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Trait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let vec: Vec> = vec![Box::new(A::new()), Box::new(B::new())]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let vec: Vec> = vec![Box::new(A::new()), Box::new(B::new())]; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Trait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let vec: Vec> = vec![Box::new(A::new()), Box::new(B::new())]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoxCloneableTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "a21a89ef6c6cdeb35f22888a150783915b217e585d6b2c62efb203b3681c201e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21a89ef6c6cdeb35f22888a150783915b217e585d6b2c62efb203b3681c201e", kill_on_drop: false }` [INFO] [stdout] a21a89ef6c6cdeb35f22888a150783915b217e585d6b2c62efb203b3681c201e