[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 try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprepare-cargo-credits%2Femulate-cargo-metadata" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prepare-cargo-credits/emulate-cargo-metadata on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-11/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a2b7f06f4f3a2db2b3e76d4ab030b56984f1022fbb4174f8a6b2a92a0a003c7 [INFO] running `Command { std: "docker" "start" "-a" "7a2b7f06f4f3a2db2b3e76d4ab030b56984f1022fbb4174f8a6b2a92a0a003c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a2b7f06f4f3a2db2b3e76d4ab030b56984f1022fbb4174f8a6b2a92a0a003c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2b7f06f4f3a2db2b3e76d4ab030b56984f1022fbb4174f8a6b2a92a0a003c7", kill_on_drop: false }` [INFO] [stdout] 7a2b7f06f4f3a2db2b3e76d4ab030b56984f1022fbb4174f8a6b2a92a0a003c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22eaca8f936717a40977861dccafaf2fc5dcf963d9bee7cc6e2767d61b1640c7 [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" "22eaca8f936717a40977861dccafaf2fc5dcf963d9bee7cc6e2767d61b1640c7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling curl v0.4.33 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling url v2.1.1 [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 tempfile v3.1.0 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling sized-chunks v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling git2 v0.13.11 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling git2-curl v0.14.1 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling serde_ignored v0.1.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling crates-io v0.31.1 [INFO] [stderr] Compiling rustfix v0.5.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 54s [INFO] running `Command { std: "docker" "inspect" "22eaca8f936717a40977861dccafaf2fc5dcf963d9bee7cc6e2767d61b1640c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22eaca8f936717a40977861dccafaf2fc5dcf963d9bee7cc6e2767d61b1640c7", kill_on_drop: false }` [INFO] [stdout] 22eaca8f936717a40977861dccafaf2fc5dcf963d9bee7cc6e2767d61b1640c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b645b84a88835fa38afd8ccb1d26cafc3da4ead8526394142c834c4ca6d53f5 [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" "4b645b84a88835fa38afd8ccb1d26cafc3da4ead8526394142c834c4ca6d53f5", 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.65s [INFO] running `Command { std: "docker" "inspect" "4b645b84a88835fa38afd8ccb1d26cafc3da4ead8526394142c834c4ca6d53f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b645b84a88835fa38afd8ccb1d26cafc3da4ead8526394142c834c4ca6d53f5", kill_on_drop: false }` [INFO] [stdout] 4b645b84a88835fa38afd8ccb1d26cafc3da4ead8526394142c834c4ca6d53f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 38824cb0105081577c1e9852ab57817f30baa1a51bab0b992185f02e4e26ffa9 [INFO] running `Command { std: "docker" "start" "-a" "38824cb0105081577c1e9852ab57817f30baa1a51bab0b992185f02e4e26ffa9", 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.29s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/emulate_cargo_metadata-553460ec06eae6bb) [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" "38824cb0105081577c1e9852ab57817f30baa1a51bab0b992185f02e4e26ffa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38824cb0105081577c1e9852ab57817f30baa1a51bab0b992185f02e4e26ffa9", kill_on_drop: false }` [INFO] [stdout] 38824cb0105081577c1e9852ab57817f30baa1a51bab0b992185f02e4e26ffa9