[INFO] fetching crate stringtree 0.2.0... [INFO] testing stringtree-0.2.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate stringtree 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate stringtree 0.2.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stringtree 0.2.0 [INFO] finished tweaking crates.io crate stringtree 0.2.0 [INFO] tweaked toml for crates.io crate stringtree 0.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3377005b0e6b6d9aac5d4d26633a008cd28382d1083dbd940edcd78b6b1c054a [INFO] running `Command { std: "docker" "start" "-a" "3377005b0e6b6d9aac5d4d26633a008cd28382d1083dbd940edcd78b6b1c054a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3377005b0e6b6d9aac5d4d26633a008cd28382d1083dbd940edcd78b6b1c054a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3377005b0e6b6d9aac5d4d26633a008cd28382d1083dbd940edcd78b6b1c054a", kill_on_drop: false }` [INFO] [stdout] 3377005b0e6b6d9aac5d4d26633a008cd28382d1083dbd940edcd78b6b1c054a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f253bbd58ee8a12e1a48adcf56546c197cdb028e247b312433751c8445010238 [INFO] running `Command { std: "docker" "start" "-a" "f253bbd58ee8a12e1a48adcf56546c197cdb028e247b312433751c8445010238", kill_on_drop: false }` [INFO] [stderr] Compiling stringtree v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | impl StringTree { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(s: &[&StringTree]) -> StringTreeBuf { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | pub type StringTreeOption<'a> = Option<&'a StringTree>; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | pub type StringTreeFn = Box &'static str>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> &'static str` [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "f253bbd58ee8a12e1a48adcf56546c197cdb028e247b312433751c8445010238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f253bbd58ee8a12e1a48adcf56546c197cdb028e247b312433751c8445010238", kill_on_drop: false }` [INFO] [stdout] f253bbd58ee8a12e1a48adcf56546c197cdb028e247b312433751c8445010238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06aa4c265b2869ce6ca4854bbd24421323cc00985bc137116e5f35222ad2dafb [INFO] running `Command { std: "docker" "start" "-a" "06aa4c265b2869ce6ca4854bbd24421323cc00985bc137116e5f35222ad2dafb", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | impl StringTree { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(s: &[&StringTree]) -> StringTreeBuf { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | pub type StringTreeOption<'a> = Option<&'a StringTree>; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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] [stderr] Compiling stringtree v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | pub type StringTreeFn = Box &'static str>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> &'static str` [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | impl StringTree { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(s: &[&StringTree]) -> StringTreeBuf { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | pub type StringTreeOption<'a> = Option<&'a StringTree>; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | pub type StringTreeFn = Box &'static str>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> &'static str` [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/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let c: &StringTree = &StringTree::new(&[&"opt"]); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | let i0 = StringTree::indent(&"x"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(StringTree::new(&[]).to_string(), ""); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(StringTree::new(&[&"foo"]).to_string(), "foo"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(StringTree::new(&[&"foo", &"bar"]).to_string(), "foobar"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let i2 = StringTree::indent("x").next().next(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(StringTree::new(&[&i2, &"bar"]).to_string(), "xxbar"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(StringTree::new(&[&f]).to_string(), "foo"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(StringTree::new(&[&"bar", &f]).to_string(), "barfoo"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | let c: &StringTree = &StringTree::new(&[&"opt"]); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(StringTree::new(&[&none]).to_string(), ""); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(StringTree::new(&[&some]).to_string(), "opt"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(StringTree::new(&[&"foo", &none, &some]).to_string(), "fooopt"); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "06aa4c265b2869ce6ca4854bbd24421323cc00985bc137116e5f35222ad2dafb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06aa4c265b2869ce6ca4854bbd24421323cc00985bc137116e5f35222ad2dafb", kill_on_drop: false }` [INFO] [stdout] 06aa4c265b2869ce6ca4854bbd24421323cc00985bc137116e5f35222ad2dafb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a04ea07b1cf8f8cec2a1d49123912ec47b7b10e29ea4952816eec734f2085a94 [INFO] running `Command { std: "docker" "start" "-a" "a04ea07b1cf8f8cec2a1d49123912ec47b7b10e29ea4952816eec734f2085a94", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | impl StringTree { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(s: &[&StringTree]) -> StringTreeBuf { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:73:44 [INFO] [stderr] | [INFO] [stderr] 73 | pub type StringTreeOption<'a> = Option<&'a StringTree>; [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:84:29 [INFO] [stderr] | [INFO] [stderr] 84 | pub type StringTreeFn = Box &'static str>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> &'static str` [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: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | impl StringTree { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(s: &[&StringTree]) -> StringTreeBuf { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:73:44 [INFO] [stderr] | [INFO] [stderr] 73 | pub type StringTreeOption<'a> = Option<&'a StringTree>; [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:84:29 [INFO] [stderr] | [INFO] [stderr] 84 | pub type StringTreeFn = Box &'static str>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> &'static str` [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/lib.rs:124:17 [INFO] [stderr] | [INFO] [stderr] 124 | let c: &StringTree = &StringTree::new(&[&"opt"]); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn StringTree` [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/lib.rs:99:18 [INFO] [stderr] | [INFO] [stderr] 99 | let i0 = StringTree::indent(&"x"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | assert_eq!(StringTree::new(&[]).to_string(), ""); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | assert_eq!(StringTree::new(&[&"foo"]).to_string(), "foo"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:114:20 [INFO] [stderr] | [INFO] [stderr] 114 | assert_eq!(StringTree::new(&[&"foo", &"bar"]).to_string(), "foobar"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:116:18 [INFO] [stderr] | [INFO] [stderr] 116 | let i2 = StringTree::indent("x").next().next(); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:117:20 [INFO] [stderr] | [INFO] [stderr] 117 | assert_eq!(StringTree::new(&[&i2, &"bar"]).to_string(), "xxbar"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 120 | assert_eq!(StringTree::new(&[&f]).to_string(), "foo"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:121:20 [INFO] [stderr] | [INFO] [stderr] 121 | assert_eq!(StringTree::new(&[&"bar", &f]).to_string(), "barfoo"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:124:31 [INFO] [stderr] | [INFO] [stderr] 124 | let c: &StringTree = &StringTree::new(&[&"opt"]); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:126:20 [INFO] [stderr] | [INFO] [stderr] 126 | assert_eq!(StringTree::new(&[&none]).to_string(), ""); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:127:20 [INFO] [stderr] | [INFO] [stderr] 127 | assert_eq!(StringTree::new(&[&some]).to_string(), "opt"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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/lib.rs:128:20 [INFO] [stderr] | [INFO] [stderr] 128 | assert_eq!(StringTree::new(&[&"foo", &none, &some]).to_string(), "fooopt"); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [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: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stringtree-c359f2eaf8304bd8) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::test_stringtree_indent ... ok [INFO] [stdout] test test::test_stringtree_new ... 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] [stderr] Doc-tests stringtree [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a04ea07b1cf8f8cec2a1d49123912ec47b7b10e29ea4952816eec734f2085a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04ea07b1cf8f8cec2a1d49123912ec47b7b10e29ea4952816eec734f2085a94", kill_on_drop: false }` [INFO] [stdout] a04ea07b1cf8f8cec2a1d49123912ec47b7b10e29ea4952816eec734f2085a94