[INFO] cloning repository https://github.com/fabricereix/sample-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabricereix/sample-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabricereix%2Fsample-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabricereix%2Fsample-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cff7f29c21dd22aee6abcff4e1c691955a2fd891 [INFO] checking fabricereix/sample-rust against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabricereix%2Fsample-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fabricereix/sample-rust on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fabricereix/sample-rust [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/fabricereix/sample-rust [INFO] tweaked toml for git repo https://github.com/fabricereix/sample-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/fabricereix/sample-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31a3fd3a4325a622ab85ca346ddaa180127b450e2e37c0d5dfb08d1d9aa4e267 [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" "31a3fd3a4325a622ab85ca346ddaa180127b450e2e37c0d5dfb08d1d9aa4e267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31a3fd3a4325a622ab85ca346ddaa180127b450e2e37c0d5dfb08d1d9aa4e267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31a3fd3a4325a622ab85ca346ddaa180127b450e2e37c0d5dfb08d1d9aa4e267", kill_on_drop: false }` [INFO] [stdout] 31a3fd3a4325a622ab85ca346ddaa180127b450e2e37c0d5dfb08d1d9aa4e267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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] 8ea26a1c7e1553e99c0116f2e13de946466807daf41c5e37266b560255f7e3d6 [INFO] running `Command { std: "docker" "start" "-a" "8ea26a1c7e1553e99c0116f2e13de946466807daf41c5e37266b560255f7e3d6", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking streaming-stats v0.2.0 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking tabwriter v1.1.0 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling libxml v0.2.16 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking regex v1.0.3 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking quickcheck v0.7.1 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.75 [INFO] [stderr] Checking csv v1.0.1 [INFO] [stderr] Checking csv-index v0.1.5 [INFO] [stderr] Checking docopt v1.0.1 [INFO] [stderr] Checking xsv v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> tests/tests.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | fn from_vecs(CsvVecs) -> Self; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: CsvVecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/tests.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | fn shrink(&self) -> Box+'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator+'static` [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] --> tests/tests.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn shrink(&self) -> Box+'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator+'static` [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: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/workdir.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | static NEXT_ID: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/headers.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let mut wtr: Box = [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 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/cmd/join.rs:281:44 [INFO] [stdout] | [INFO] [stdout] 281 | -> CliResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write+'static` [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/cmd/partition.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | type BoxedWriter = csv::Writer>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write+'static` [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/cmd/split.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> CliResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write+'static` [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/config.rs:197:48 [INFO] [stdout] | [INFO] [stdout] 197 | -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write+'static` [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/config.rs:202:48 [INFO] [stdout] | [INFO] [stdout] 202 | -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Read+'static` [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/config.rs:263:47 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn io_reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Read+'static` [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/config.rs:293:47 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn io_writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write+'static` [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/util.rs:190:48 [INFO] [stdout] | [INFO] [stdout] 190 | -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write+'static` [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.91s [INFO] running `Command { std: "docker" "inspect" "8ea26a1c7e1553e99c0116f2e13de946466807daf41c5e37266b560255f7e3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea26a1c7e1553e99c0116f2e13de946466807daf41c5e37266b560255f7e3d6", kill_on_drop: false }` [INFO] [stdout] 8ea26a1c7e1553e99c0116f2e13de946466807daf41c5e37266b560255f7e3d6