[INFO] fetching crate counters 0.5.0... [INFO] testing counters-0.5.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate counters 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate counters 0.5.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate counters 0.5.0 [INFO] finished tweaking crates.io crate counters 0.5.0 [INFO] tweaked toml for crates.io crate counters 0.5.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", 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] b7b9e01e806bca7d34e3fb85ba65f7db06e9c9505a4f354bf18843479e0a38da [INFO] running `Command { std: "docker" "start" "-a" "b7b9e01e806bca7d34e3fb85ba65f7db06e9c9505a4f354bf18843479e0a38da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7b9e01e806bca7d34e3fb85ba65f7db06e9c9505a4f354bf18843479e0a38da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b9e01e806bca7d34e3fb85ba65f7db06e9c9505a4f354bf18843479e0a38da", kill_on_drop: false }` [INFO] [stdout] b7b9e01e806bca7d34e3fb85ba65f7db06e9c9505a4f354bf18843479e0a38da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] 456b3335a4e39b099c520d3cbb0d0f30d1cbb66f39723b451e3538dad31516b7 [INFO] running `Command { std: "docker" "start" "-a" "456b3335a4e39b099c520d3cbb0d0f30d1cbb66f39723b451e3538dad31516b7", kill_on_drop: false }` [INFO] [stderr] Compiling counters v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/counters.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn print(&self, mut filter: F, to: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/table.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn print(&self, to: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/noop.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | #[inline] pub fn print(&self, _filter: F, _out: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/noop.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | #[inline] pub fn print(&self, _to: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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.51s [INFO] running `Command { std: "docker" "inspect" "456b3335a4e39b099c520d3cbb0d0f30d1cbb66f39723b451e3538dad31516b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456b3335a4e39b099c520d3cbb0d0f30d1cbb66f39723b451e3538dad31516b7", kill_on_drop: false }` [INFO] [stdout] 456b3335a4e39b099c520d3cbb0d0f30d1cbb66f39723b451e3538dad31516b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--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] 48bc365fdd9b9f9ad4bad80dd4d1a138a2a3f1feb8b434bf0f2c1d48aea639fb [INFO] running `Command { std: "docker" "start" "-a" "48bc365fdd9b9f9ad4bad80dd4d1a138a2a3f1feb8b434bf0f2c1d48aea639fb", kill_on_drop: false }` [INFO] [stderr] Compiling counters v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/counters.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn print(&self, mut filter: F, to: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/table.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn print(&self, to: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/noop.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | #[inline] pub fn print(&self, _filter: F, _out: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/noop.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | #[inline] pub fn print(&self, _to: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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/counters.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn print(&self, mut filter: F, to: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/table.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn print(&self, to: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/noop.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | #[inline] pub fn print(&self, _filter: F, _out: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/noop.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | #[inline] pub fn print(&self, _to: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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 test [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "48bc365fdd9b9f9ad4bad80dd4d1a138a2a3f1feb8b434bf0f2c1d48aea639fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48bc365fdd9b9f9ad4bad80dd4d1a138a2a3f1feb8b434bf0f2c1d48aea639fb", kill_on_drop: false }` [INFO] [stdout] 48bc365fdd9b9f9ad4bad80dd4d1a138a2a3f1feb8b434bf0f2c1d48aea639fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee36589f3267836c3550fea0b556ed2d40db8703c3cabb37284466851510727e [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" "ee36589f3267836c3550fea0b556ed2d40db8703c3cabb37284466851510727e", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/counters.rs:86:60 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn print(&self, mut filter: F, to: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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/table.rs:65:34 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn print(&self, to: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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/noop.rs:17:69 [INFO] [stderr] | [INFO] [stderr] 17 | #[inline] pub fn print(&self, _filter: F, _out: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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/noop.rs:27:45 [INFO] [stderr] | [INFO] [stderr] 27 | #[inline] pub fn print(&self, _to: &mut io::Write) -> io::Result<()> { Ok(()) } [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `counters` (lib) generated 4 warnings [INFO] [stderr] warning: `counters` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/counters-83868cc8e25c8556) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test it_works ... ok [INFO] [stdout] test noop ... 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 counters [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 38) ... ok [INFO] [stdout] test src/table.rs - table::Table (line 10) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee36589f3267836c3550fea0b556ed2d40db8703c3cabb37284466851510727e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee36589f3267836c3550fea0b556ed2d40db8703c3cabb37284466851510727e", kill_on_drop: false }` [INFO] [stdout] ee36589f3267836c3550fea0b556ed2d40db8703c3cabb37284466851510727e