[INFO] fetching crate xor 1.4.5... [INFO] testing xor-1.4.5 against 1.59.0 for beta-1.60-1 [INFO] extracting crate xor 1.4.5 into /workspace/builds/worker-85/source [INFO] validating manifest of crates.io crate xor 1.4.5 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xor 1.4.5 [INFO] finished tweaking crates.io crate xor 1.4.5 [INFO] tweaked toml for crates.io crate xor 1.4.5 written to /workspace/builds/worker-85/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb1f7f2c1c5e6f11f2fdbab10c92a85a760e3fd606c2017b2d7f3cfdd73cd960 [INFO] running `Command { std: "docker" "start" "-a" "bb1f7f2c1c5e6f11f2fdbab10c92a85a760e3fd606c2017b2d7f3cfdd73cd960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb1f7f2c1c5e6f11f2fdbab10c92a85a760e3fd606c2017b2d7f3cfdd73cd960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1f7f2c1c5e6f11f2fdbab10c92a85a760e3fd606c2017b2d7f3cfdd73cd960", kill_on_drop: false }` [INFO] [stdout] bb1f7f2c1c5e6f11f2fdbab10c92a85a760e3fd606c2017b2d7f3cfdd73cd960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fd0a4e703f8abaef377d12bbd8687b1a352d5a111866127dced02e776debe38 [INFO] running `Command { std: "docker" "start" "-a" "2fd0a4e703f8abaef377d12bbd8687b1a352d5a111866127dced02e776debe38", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling xor-utils v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling xor v1.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] 135 + fn encrypt_reader(input : &mut dyn Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:135:68 [INFO] [stdout] | [INFO] [stdout] 135 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] 135 + fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | let mut output : Box = if matches.is_present("output") { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - let mut output : Box = if matches.is_present("output") { [INFO] [stdout] 108 + let mut output : Box = if matches.is_present("output") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.81s [INFO] running `Command { std: "docker" "inspect" "2fd0a4e703f8abaef377d12bbd8687b1a352d5a111866127dced02e776debe38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd0a4e703f8abaef377d12bbd8687b1a352d5a111866127dced02e776debe38", kill_on_drop: false }` [INFO] [stdout] 2fd0a4e703f8abaef377d12bbd8687b1a352d5a111866127dced02e776debe38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd51c70556f20845384fcfdec8f84cd28d02a51d5e3463969e425332f97699b7 [INFO] running `Command { std: "docker" "start" "-a" "cd51c70556f20845384fcfdec8f84cd28d02a51d5e3463969e425332f97699b7", kill_on_drop: false }` [INFO] [stderr] Compiling xor v1.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] 135 + fn encrypt_reader(input : &mut dyn Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:135:68 [INFO] [stdout] | [INFO] [stdout] 135 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] 135 + fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | let mut output : Box = if matches.is_present("output") { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - let mut output : Box = if matches.is_present("output") { [INFO] [stdout] 108 + let mut output : Box = if matches.is_present("output") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "cd51c70556f20845384fcfdec8f84cd28d02a51d5e3463969e425332f97699b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd51c70556f20845384fcfdec8f84cd28d02a51d5e3463969e425332f97699b7", kill_on_drop: false }` [INFO] [stdout] cd51c70556f20845384fcfdec8f84cd28d02a51d5e3463969e425332f97699b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66b07ee126c35826fe85e590e4bc6267b50f2812aceed69d5d8ffe284745bb97 [INFO] running `Command { std: "docker" "start" "-a" "66b07ee126c35826fe85e590e4bc6267b50f2812aceed69d5d8ffe284745bb97", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:135:32 [INFO] [stderr] | [INFO] [stderr] 135 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 - fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stderr] 135 + fn encrypt_reader(input : &mut dyn Read, key : &Vec, output : &mut Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:135:68 [INFO] [stderr] | [INFO] [stderr] 135 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 - fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stderr] 135 + fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:108:30 [INFO] [stderr] | [INFO] [stderr] 108 | let mut output : Box = if matches.is_present("output") { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 108 - let mut output : Box = if matches.is_present("output") { [INFO] [stderr] 108 + let mut output : Box = if matches.is_present("output") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `xor` (bin "xor" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xor-74a80fed3fd8f0ad) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::encrypt_reader_works ... ok [INFO] [stdout] test tests::from_hex_string_works ... ok [INFO] [stdout] test tests::to_hex_string_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66b07ee126c35826fe85e590e4bc6267b50f2812aceed69d5d8ffe284745bb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b07ee126c35826fe85e590e4bc6267b50f2812aceed69d5d8ffe284745bb97", kill_on_drop: false }` [INFO] [stdout] 66b07ee126c35826fe85e590e4bc6267b50f2812aceed69d5d8ffe284745bb97