[INFO] cloning repository https://github.com/HobbyistRust/cargo-sysroot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HobbyistRust/cargo-sysroot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHobbyistRust%2Fcargo-sysroot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHobbyistRust%2Fcargo-sysroot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 865032666d2de4a53e10e907e0418a9d835bf52a
[INFO] testing HobbyistRust/cargo-sysroot against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHobbyistRust%2Fcargo-sysroot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HobbyistRust/cargo-sysroot
[INFO] finished tweaking git repo https://github.com/HobbyistRust/cargo-sysroot
[INFO] tweaked toml for git repo https://github.com/HobbyistRust/cargo-sysroot written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HobbyistRust/cargo-sysroot on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HobbyistRust/cargo-sysroot 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1
[INFO] running `Command { std: "docker" "start" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling serde v1.0.135
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.135
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling remove_dir_all v0.7.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling cargo-toml2 v1.3.2
[INFO] [stderr]    Compiling cargo-sysroot v0.8.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `target_dir` is never read
[INFO] [stdout]   --> src/args.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Sysroot {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub target_dir: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sysroot` 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.54s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stdout] warning: field `target_dir` is never read
[INFO] [stdout]   --> src/args.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Sysroot {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub target_dir: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sysroot` 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] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling cargo-sysroot v0.8.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `target_dir` is never read
[INFO] [stdout]   --> src/args.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Sysroot {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub target_dir: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sysroot` 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: field `target_dir` is never read
[INFO] [stderr]   --> src/args.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub struct Sysroot {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 13 |     pub target_dir: PathBuf,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Sysroot` 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: `cargo-sysroot` (bin "cargo-sysroot") generated 1 warning
[INFO] [stderr] warning: `cargo-sysroot` (bin "cargo-sysroot" test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_sysroot-455fa98a69f62012)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_sysroot-d3fd87fed12da925)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compiles.rs (/opt/rustwide/target/debug/deps/compiles-5810ab7a3e63ac6b)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test all_compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- all_compile stdout ----
[INFO] [stdout] Error: Error compiling Sysroot: Core
[INFO] [stdout] 
[INFO] [stdout] Caused by:
[INFO] [stdout]     0: Could not detect appropriate rust-src
[INFO] [stdout]     1: A nightly Rust version is required to build the sysroot
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     all_compile
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test compiles`
[INFO] running `Command { std: "docker" "inspect" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1", kill_on_drop: false }`
[INFO] [stdout] 7d4e19bb4c179d8eda6c2fc2898dc83cad0fc62a6a4aeb3a3c08a5d610dba6c1
