[INFO] crate cargo2 0.2.2 is already in cache [INFO] checking cargo2-0.2.2 against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] extracting crate cargo2 0.2.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate cargo2 0.2.2 on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cargo2 0.2.2 [INFO] finished tweaking crates.io crate cargo2 0.2.2 [INFO] tweaked toml for crates.io crate cargo2 0.2.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57778b7bf1bfe05aabf29784f2d1bfd9fd0dbdd738d991da0ed79a72bd8e8dc5 [INFO] running `"docker" "start" "-a" "57778b7bf1bfe05aabf29784f2d1bfd9fd0dbdd738d991da0ed79a72bd8e8dc5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking cargo2 v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `serde` [INFO] [stderr] --> src/metadata.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use serde; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde` [INFO] [stderr] --> src/metadata.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use serde; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/main.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | ("bundle", Some(m)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/main.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | ("check", Some(m)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry` [INFO] [stderr] --> src/license.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let entry = license_map [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/main.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | ("bundle", Some(m)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/main.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | ("check", Some(m)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry` [INFO] [stderr] --> src/license.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let entry = license_map [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/license.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut parts = split_license(license); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/license.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut parts = split_license(license); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_licenses` [INFO] [stderr] --> src/license.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn check_licenses() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bundle_licenses` [INFO] [stderr] --> src/license.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn bundle_licenses() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `split_multiple` [INFO] [stderr] --> src/util.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn split_multiple() {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_licenses` [INFO] [stderr] --> src/license.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn check_licenses() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bundle_licenses` [INFO] [stderr] --> src/license.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn bundle_licenses() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `split_multiple` [INFO] [stderr] --> src/util.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn split_multiple() {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.28s [INFO] running `"docker" "inspect" "57778b7bf1bfe05aabf29784f2d1bfd9fd0dbdd738d991da0ed79a72bd8e8dc5"` [INFO] running `"docker" "rm" "-f" "57778b7bf1bfe05aabf29784f2d1bfd9fd0dbdd738d991da0ed79a72bd8e8dc5"` [INFO] [stdout] 57778b7bf1bfe05aabf29784f2d1bfd9fd0dbdd738d991da0ed79a72bd8e8dc5