[INFO] fetching crate wcp 0.1.5... [INFO] testing wcp-0.1.5 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wcp 0.1.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wcp 0.1.5 [INFO] finished tweaking crates.io crate wcp 0.1.5 [INFO] tweaked toml for crates.io crate wcp 0.1.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wcp 0.1.5 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wcp 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded console v0.15.1 [INFO] [stderr] Downloaded indicatif v0.13.0 [INFO] [stderr] Downloaded http_io v0.2.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 356918c8c95c111938507596f04c87d5c627072c5d9d95ca099fde5d8212bb62 [INFO] running `Command { std: "docker" "start" "-a" "356918c8c95c111938507596f04c87d5c627072c5d9d95ca099fde5d8212bb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "356918c8c95c111938507596f04c87d5c627072c5d9d95ca099fde5d8212bb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "356918c8c95c111938507596f04c87d5c627072c5d9d95ca099fde5d8212bb62", kill_on_drop: false }` [INFO] [stdout] 356918c8c95c111938507596f04c87d5c627072c5d9d95ca099fde5d8212bb62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5780b210f813bc752efbf394653ba4d99599e627a3382a409014349389b2d6ba [INFO] running `Command { std: "docker" "start" "-a" "5780b210f813bc752efbf394653ba4d99599e627a3382a409014349389b2d6ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling console v0.15.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling indicatif v0.13.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling http_io v0.2.16 [INFO] [stderr] Compiling wcp v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Http(http_io::error::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Http(http_io::error::Error), [INFO] [stdout] 17 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Io(io::Error), [INFO] [stdout] 18 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.17s [INFO] running `Command { std: "docker" "inspect" "5780b210f813bc752efbf394653ba4d99599e627a3382a409014349389b2d6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5780b210f813bc752efbf394653ba4d99599e627a3382a409014349389b2d6ba", kill_on_drop: false }` [INFO] [stdout] 5780b210f813bc752efbf394653ba4d99599e627a3382a409014349389b2d6ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52a50448b271e75f007cfab2b7e755c2e35b7c26cf33a5242878d667fe17dc5c [INFO] running `Command { std: "docker" "start" "-a" "52a50448b271e75f007cfab2b7e755c2e35b7c26cf33a5242878d667fe17dc5c", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling wcp v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Http(http_io::error::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Http(http_io::error::Error), [INFO] [stdout] 17 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Io(io::Error), [INFO] [stdout] 18 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "52a50448b271e75f007cfab2b7e755c2e35b7c26cf33a5242878d667fe17dc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a50448b271e75f007cfab2b7e755c2e35b7c26cf33a5242878d667fe17dc5c", kill_on_drop: false }` [INFO] [stdout] 52a50448b271e75f007cfab2b7e755c2e35b7c26cf33a5242878d667fe17dc5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6530f48a75bc579fa34055caa062e4b9554aa789d5125bd782d5e95552334061 [INFO] running `Command { std: "docker" "start" "-a" "6530f48a75bc579fa34055caa062e4b9554aa789d5125bd782d5e95552334061", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | Http(http_io::error::Error), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - Http(http_io::error::Error), [INFO] [stderr] 17 + Http(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | Io(io::Error), [INFO] [stderr] | -- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - Io(io::Error), [INFO] [stderr] 18 + Io(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wcp` (bin "wcp" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wcp-8c9e01324d229b35) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test local_directory_location_is_dir ... ok [INFO] [stdout] test local_location_name ... ok [INFO] [stdout] test remote_directory_location_is_dir ... ok [INFO] [stdout] test remote_directory_location_name ... ok [INFO] [stdout] test remote_directory_location_is_not_dir ... ok [INFO] [stdout] test remote_location_name ... ok [INFO] [stdout] test local_directory_location_is_not_dir ... ok [INFO] [stdout] test test_upload ... ok [INFO] [stdout] test test_download ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6530f48a75bc579fa34055caa062e4b9554aa789d5125bd782d5e95552334061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6530f48a75bc579fa34055caa062e4b9554aa789d5125bd782d5e95552334061", kill_on_drop: false }` [INFO] [stdout] 6530f48a75bc579fa34055caa062e4b9554aa789d5125bd782d5e95552334061