[INFO] cloning repository https://github.com/SharkyRawr/rustpak
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SharkyRawr/rustpak" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharkyRawr%2Frustpak", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharkyRawr%2Frustpak'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a01d7f7241b84b7a6eabf8fc6c8eb60598495cd
[INFO] testing SharkyRawr/rustpak against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharkyRawr%2Frustpak" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SharkyRawr/rustpak
[INFO] finished tweaking git repo https://github.com/SharkyRawr/rustpak
[INFO] tweaked toml for git repo https://github.com/SharkyRawr/rustpak written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SharkyRawr/rustpak on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SharkyRawr/rustpak 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 975c4c745c2365ffd5ae162b146b6d0955028c6ef4d9468ffc418dcdfd7fd33c
[INFO] running `Command { std: "docker" "start" "-a" "975c4c745c2365ffd5ae162b146b6d0955028c6ef4d9468ffc418dcdfd7fd33c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "975c4c745c2365ffd5ae162b146b6d0955028c6ef4d9468ffc418dcdfd7fd33c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "975c4c745c2365ffd5ae162b146b6d0955028c6ef4d9468ffc418dcdfd7fd33c", kill_on_drop: false }`
[INFO] [stdout] 975c4c745c2365ffd5ae162b146b6d0955028c6ef4d9468ffc418dcdfd7fd33c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d99f878e2eba3ef87fba01355bc08cbae8191863aecb0ba66181eb70cce5383a
[INFO] running `Command { std: "docker" "start" "-a" "d99f878e2eba3ef87fba01355bc08cbae8191863aecb0ba66181eb70cce5383a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rustpak v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]    --> src/lib.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct Pak {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] 116 |     pub pak_path: String,
[INFO] [stdout] 117 |     pub header: PakHeader,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Pak` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/main.rs:86:37
[INFO] [stdout]    |
[INFO] [stdout] 86 |             outfile = option_outfile.clone().to_string();
[INFO] [stdout]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.09s
[INFO] running `Command { std: "docker" "inspect" "d99f878e2eba3ef87fba01355bc08cbae8191863aecb0ba66181eb70cce5383a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d99f878e2eba3ef87fba01355bc08cbae8191863aecb0ba66181eb70cce5383a", kill_on_drop: false }`
[INFO] [stdout] d99f878e2eba3ef87fba01355bc08cbae8191863aecb0ba66181eb70cce5383a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 328ec86ad1209aafaa691a640f71c7b6cfa32b76a9860201e3092817a8bac31f
[INFO] running `Command { std: "docker" "start" "-a" "328ec86ad1209aafaa691a640f71c7b6cfa32b76a9860201e3092817a8bac31f", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustpak v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]    --> src/lib.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct Pak {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] 116 |     pub pak_path: String,
[INFO] [stdout] 117 |     pub header: PakHeader,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Pak` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/main.rs:86:37
[INFO] [stdout]    |
[INFO] [stdout] 86 |             outfile = option_outfile.clone().to_string();
[INFO] [stdout]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]    --> src/lib.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct Pak {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] 116 |     pub pak_path: String,
[INFO] [stdout] 117 |     pub header: PakHeader,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Pak` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/main.rs:86:37
[INFO] [stdout]    |
[INFO] [stdout] 86 |             outfile = option_outfile.clone().to_string();
[INFO] [stdout]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s
[INFO] running `Command { std: "docker" "inspect" "328ec86ad1209aafaa691a640f71c7b6cfa32b76a9860201e3092817a8bac31f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "328ec86ad1209aafaa691a640f71c7b6cfa32b76a9860201e3092817a8bac31f", kill_on_drop: false }`
[INFO] [stdout] 328ec86ad1209aafaa691a640f71c7b6cfa32b76a9860201e3092817a8bac31f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 42181ea281be2a464753cd01f8ac20302ff1ae035828caeb66797706b2f2cb56
[INFO] running `Command { std: "docker" "start" "-a" "42181ea281be2a464753cd01f8ac20302ff1ae035828caeb66797706b2f2cb56", kill_on_drop: false }`
[INFO] [stderr] warning: found module declaration for lib.rs
[INFO] [stdout] 
[INFO] [stderr]  --> src/main.rs:1:1
[INFO] [stdout] running 0 tests
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr] 1 | mod lib;
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]   | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout] running 0 tests
[INFO] [stderr]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout] 
[INFO] [stderr]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: field `header` is never read
[INFO] [stdout] 
[INFO] [stderr]    --> src/lib.rs:117:9
[INFO] [stdout] running 6 tests
[INFO] [stderr]     |
[INFO] [stdout] test tests::pak_add_duplicate_file ... ok
[INFO] [stderr] 115 | pub struct Pak {
[INFO] [stdout] test tests::pak_add_file ... ok
[INFO] [stderr]     |            --- field in this struct
[INFO] [stdout] test tests::pak_save ... FAILED
[INFO] [stderr] 116 |     pub pak_path: String,
[INFO] [stdout] test tests::pak_delete_file ... ok
[INFO] [stderr] 117 |     pub header: PakHeader,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Pak` 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] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/main.rs:86:37
[INFO] [stderr]    |
[INFO] [stderr] 86 |             outfile = option_outfile.clone().to_string();
[INFO] [stderr]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rustpak` (bin "rustpak" test) generated 3 warnings (run `cargo fix --bin "rustpak" -p rustpak --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rustpak` (bin "rustpak") generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rustpak/8a271924d933768d/deps/rustpak-8a271924d933768d)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/rustpak/52e0ef95759e7cba/deps/rustpak-52e0ef95759e7cba)
[INFO] [stderr]      Running tests/pak_test.rs (/opt/rustwide/target/debug/build/rustpak/d8f6160002fe1fdc/deps/pak_test-d8f6160002fe1fdc)
[INFO] [stdout] test tests::pak_from_file ... ok
[INFO] [stderr] error: test failed, to rerun pass `--test pak_test`
[INFO] [stdout] test tests::pak_delete_file_nonexisting - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::pak_save stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::pak_save
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "42181ea281be2a464753cd01f8ac20302ff1ae035828caeb66797706b2f2cb56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42181ea281be2a464753cd01f8ac20302ff1ae035828caeb66797706b2f2cb56", kill_on_drop: false }`
[INFO] [stdout] 42181ea281be2a464753cd01f8ac20302ff1ae035828caeb66797706b2f2cb56
