[INFO] fetching crate concat-reader 0.1.0... [INFO] testing concat-reader-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate concat-reader 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate concat-reader 0.1.0 [INFO] finished tweaking crates.io crate concat-reader 0.1.0 [INFO] tweaked toml for crates.io crate concat-reader 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate concat-reader 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4cc677f021149e710566f8a429775cf557cd6240705ca17210abe787974daa3 [INFO] running `Command { std: "docker" "start" "-a" "e4cc677f021149e710566f8a429775cf557cd6240705ca17210abe787974daa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4cc677f021149e710566f8a429775cf557cd6240705ca17210abe787974daa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4cc677f021149e710566f8a429775cf557cd6240705ca17210abe787974daa3", kill_on_drop: false }` [INFO] [stdout] e4cc677f021149e710566f8a429775cf557cd6240705ca17210abe787974daa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d444af3c728e7062059b3745d7b8eb7549b7d4ff42cd6d4a0907a588a98c738d [INFO] running `Command { std: "docker" "start" "-a" "d444af3c728e7062059b3745d7b8eb7549b7d4ff42cd6d4a0907a588a98c738d", kill_on_drop: false }` [INFO] [stderr] Compiling concat-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file.rs:167:51 [INFO] [stdout] | [INFO] [stdout] 167 | return Err(io::Error::new(e.kind(), e.description())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file.rs:181:66 [INFO] [stdout] | [INFO] [stdout] 181 | ReaderState::Err(e, _) => io::Error::new(e.kind(), e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/file.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | mem::replace(self, s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = mem::replace(self, s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "d444af3c728e7062059b3745d7b8eb7549b7d4ff42cd6d4a0907a588a98c738d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d444af3c728e7062059b3745d7b8eb7549b7d4ff42cd6d4a0907a588a98c738d", kill_on_drop: false }` [INFO] [stdout] d444af3c728e7062059b3745d7b8eb7549b7d4ff42cd6d4a0907a588a98c738d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a871f8ec442ca64d5d502b07c3e4a60286b3932d43e842561d95756a53351e9 [INFO] running `Command { std: "docker" "start" "-a" "7a871f8ec442ca64d5d502b07c3e4a60286b3932d43e842561d95756a53351e9", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file.rs:167:51 [INFO] [stdout] | [INFO] [stdout] 167 | return Err(io::Error::new(e.kind(), e.description())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file.rs:181:66 [INFO] [stdout] | [INFO] [stdout] 181 | ReaderState::Err(e, _) => io::Error::new(e.kind(), e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling concat-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/file.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | mem::replace(self, s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = mem::replace(self, s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file.rs:167:51 [INFO] [stdout] | [INFO] [stdout] 167 | return Err(io::Error::new(e.kind(), e.description())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file.rs:181:66 [INFO] [stdout] | [INFO] [stdout] 181 | ReaderState::Err(e, _) => io::Error::new(e.kind(), e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/file.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | mem::replace(self, s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = mem::replace(self, s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "7a871f8ec442ca64d5d502b07c3e4a60286b3932d43e842561d95756a53351e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a871f8ec442ca64d5d502b07c3e4a60286b3932d43e842561d95756a53351e9", kill_on_drop: false }` [INFO] [stdout] 7a871f8ec442ca64d5d502b07c3e4a60286b3932d43e842561d95756a53351e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b93003a5b71d3c3482ad9a946a386f2f8a485dd737101c27e92d10d9059f3ca5 [INFO] running `Command { std: "docker" "start" "-a" "b93003a5b71d3c3482ad9a946a386f2f8a485dd737101c27e92d10d9059f3ca5", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] [INFO] [stderr] --> src/file.rs:167:51 [INFO] [stdout] running 7 tests [INFO] [stderr] | [INFO] [stdout] test file::tests::fails_on_file_error ... ok [INFO] [stderr] 167 | return Err(io::Error::new(e.kind(), e.description())); [INFO] [stdout] test file::tests::fails_on_file_error2 ... ok [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] test file::tests::can_skip_and_continue ... ok [INFO] [stderr] | [INFO] [stdout] test file::tests::can_debug_print ... ok [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] test file::tests::reads_from_multiple_files ... ok [INFO] [stderr] [INFO] [stdout] test read::tests::reads_from_multiple_readers ... ok [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file.rs:181:66 [INFO] [stderr] | [INFO] [stderr] 181 | ReaderState::Err(e, _) => io::Error::new(e.kind(), e.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/file.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | mem::replace(self, s); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 165 | let _ = mem::replace(self, s); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `concat-reader` (lib) generated 3 warnings [INFO] [stderr] warning: `concat-reader` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/concat_reader-57e5c6683fe4bd8a) [INFO] [stderr] Doc-tests concat_reader [INFO] [stdout] test file::tests::init_next_reader_when_current_is_eof ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/file.rs - file::FileConcatReader (line 28) - compile ... ok [INFO] [stdout] test src/lib.rs - concat_path (line 59) - compile ... ok [INFO] [stdout] test src/lib.rs - FileConcatRead::file_path (line 147) - compile ... ok [INFO] [stdout] test src/lib.rs - FileConcatRead (line 129) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 4) - compile ... ok [INFO] [stdout] test src/lib.rs - concat (line 39) ... ok [INFO] [stdout] test src/read.rs - read::ConcatReader (line 11) - compile ... ok [INFO] [stdout] test src/read.rs - read::ConcatReader::new (line 51) ... ok [INFO] [stdout] test src/file.rs - file::FileConcatReader::new (line 70) ... ok [INFO] [stdout] test src/lib.rs - ConcatRead::skip (line 95) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b93003a5b71d3c3482ad9a946a386f2f8a485dd737101c27e92d10d9059f3ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93003a5b71d3c3482ad9a946a386f2f8a485dd737101c27e92d10d9059f3ca5", kill_on_drop: false }` [INFO] [stdout] b93003a5b71d3c3482ad9a946a386f2f8a485dd737101c27e92d10d9059f3ca5