[INFO] cloning repository https://github.com/prepare-cargo-credits/emulate-cargo-metadata [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prepare-cargo-credits/emulate-cargo-metadata" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprepare-cargo-credits%2Femulate-cargo-metadata", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprepare-cargo-credits%2Femulate-cargo-metadata'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a09a80afa9afa9f68ba1f01e529570b91f4092cc [INFO] testing prepare-cargo-credits/emulate-cargo-metadata against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprepare-cargo-credits%2Femulate-cargo-metadata" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prepare-cargo-credits/emulate-cargo-metadata on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prepare-cargo-credits/emulate-cargo-metadata [INFO] finished tweaking git repo https://github.com/prepare-cargo-credits/emulate-cargo-metadata [INFO] tweaked toml for git repo https://github.com/prepare-cargo-credits/emulate-cargo-metadata written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/prepare-cargo-credits/emulate-cargo-metadata already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 342fbb344293751faa4a3fd3c1c7c64d0338cf870a9b1055a9cf6f1cc5dbe1b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "342fbb344293751faa4a3fd3c1c7c64d0338cf870a9b1055a9cf6f1cc5dbe1b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "342fbb344293751faa4a3fd3c1c7c64d0338cf870a9b1055a9cf6f1cc5dbe1b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342fbb344293751faa4a3fd3c1c7c64d0338cf870a9b1055a9cf6f1cc5dbe1b2", kill_on_drop: false }` [INFO] [stdout] 342fbb344293751faa4a3fd3c1c7c64d0338cf870a9b1055a9cf6f1cc5dbe1b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c11b1ea73d9a7d4c8588757c7a6ee29b5e4b4771f412da9ec305d5f30b3027f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c11b1ea73d9a7d4c8588757c7a6ee29b5e4b4771f412da9ec305d5f30b3027f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling curl v0.4.33 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling libssh2-sys v0.2.19 [INFO] [stderr] Compiling curl-sys v0.4.36+curl-7.71.1 [INFO] [stderr] Compiling libgit2-sys v0.12.13+1.0.1 [INFO] [stderr] Compiling sized-chunks v0.6.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling git2 v0.13.11 [INFO] [stderr] Compiling git2-curl v0.14.1 [INFO] [stderr] Compiling serde_ignored v0.1.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling rustfix v0.5.1 [INFO] [stderr] Compiling crates-io v0.31.1 [INFO] [stderr] Compiling cargo v0.47.0 [INFO] [stderr] Compiling emulate-cargo-metadata v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => return Err(CliError::code(1)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Err(e) => Err(CliError::code(1)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / match matches.subcommand() { [INFO] [stdout] 26 | | ("sinofseven", Some(arg)) => cli_main(arg, &mut config), [INFO] [stdout] 27 | | _ => { [INFO] [stdout] 28 | | eprintln!("error subcommand"); [INFO] [stdout] 29 | | Err(CliError::code(1)) [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 52s [INFO] running `Command { std: "docker" "inspect" "c11b1ea73d9a7d4c8588757c7a6ee29b5e4b4771f412da9ec305d5f30b3027f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c11b1ea73d9a7d4c8588757c7a6ee29b5e4b4771f412da9ec305d5f30b3027f7", kill_on_drop: false }` [INFO] [stdout] c11b1ea73d9a7d4c8588757c7a6ee29b5e4b4771f412da9ec305d5f30b3027f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ca3bdb91bd15f7d55c6c84ab36aa344657a791b2f46a3c03c28bdef72cf0cd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f3ca3bdb91bd15f7d55c6c84ab36aa344657a791b2f46a3c03c28bdef72cf0cd", kill_on_drop: false }` [INFO] [stderr] Compiling emulate-cargo-metadata v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => return Err(CliError::code(1)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Err(e) => Err(CliError::code(1)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / match matches.subcommand() { [INFO] [stdout] 26 | | ("sinofseven", Some(arg)) => cli_main(arg, &mut config), [INFO] [stdout] 27 | | _ => { [INFO] [stdout] 28 | | eprintln!("error subcommand"); [INFO] [stdout] 29 | | Err(CliError::code(1)) [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/emulate_cargo_metadata-aa1e72923addcc65) [INFO] running `Command { std: "docker" "inspect" "f3ca3bdb91bd15f7d55c6c84ab36aa344657a791b2f46a3c03c28bdef72cf0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ca3bdb91bd15f7d55c6c84ab36aa344657a791b2f46a3c03c28bdef72cf0cd", kill_on_drop: false }` [INFO] [stdout] f3ca3bdb91bd15f7d55c6c84ab36aa344657a791b2f46a3c03c28bdef72cf0cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b565ab9d50f2f914fba7a241e1b67d973da9bae1b024d3622f1f5f9cba538f7b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b565ab9d50f2f914fba7a241e1b67d973da9bae1b024d3622f1f5f9cba538f7b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | Err(e) => return Err(CliError::code(1)) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | Err(e) => Err(CliError::code(1)) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / match matches.subcommand() { [INFO] [stderr] 26 | | ("sinofseven", Some(arg)) => cli_main(arg, &mut config), [INFO] [stderr] 27 | | _ => { [INFO] [stderr] 28 | | eprintln!("error subcommand"); [INFO] [stderr] 29 | | Err(CliError::code(1)) [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | }; [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `emulate-cargo-metadata` (bin "emulate-cargo-metadata" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/emulate_cargo_metadata-aa1e72923addcc65) [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] running `Command { std: "docker" "inspect" "b565ab9d50f2f914fba7a241e1b67d973da9bae1b024d3622f1f5f9cba538f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b565ab9d50f2f914fba7a241e1b67d973da9bae1b024d3622f1f5f9cba538f7b", kill_on_drop: false }` [INFO] [stdout] b565ab9d50f2f914fba7a241e1b67d973da9bae1b024d3622f1f5f9cba538f7b