[INFO] cloning repository https://github.com/epage/cargo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epage/cargo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepage%2Fcargo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepage%2Fcargo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c3fecf9daa3c772a8a464e0a482c9d1d6192173 [INFO] checking epage/cargo-api against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepage%2Fcargo-api" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/epage/cargo-api [INFO] finished tweaking git repo https://github.com/epage/cargo-api [INFO] tweaked toml for git repo https://github.com/epage/cargo-api written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/epage/cargo-api on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/epage/cargo-api 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edc9f5c29ecb18f5c03141cd3946dc595acc9dc0130d05607ec75738a85995a0 [INFO] running `Command { std: "docker" "start" "-a" "edc9f5c29ecb18f5c03141cd3946dc595acc9dc0130d05607ec75738a85995a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc9f5c29ecb18f5c03141cd3946dc595acc9dc0130d05607ec75738a85995a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc9f5c29ecb18f5c03141cd3946dc595acc9dc0130d05607ec75738a85995a0", kill_on_drop: false }` [INFO] [stdout] edc9f5c29ecb18f5c03141cd3946dc595acc9dc0130d05607ec75738a85995a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 355bda0fe2cb7d9951d82eac7ce69be1708f53b7ee145e22be464a165a36455a [INFO] running `Command { std: "docker" "start" "-a" "355bda0fe2cb7d9951d82eac7ce69be1708f53b7ee145e22be464a165a36455a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking concolor-query v0.0.4 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking combine v4.6.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking concolor-control v0.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking dep_upgrade_dep v1.0.0 (/opt/rustwide/workdir/fixtures/dep_upgrade/dep_old) [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking termtree v0.2.3 [INFO] [stderr] Checking dep_upgrade_dep v2.0.0 (/opt/rustwide/workdir/fixtures/dep_upgrade/dep_new) [INFO] [stderr] Checking proc-exit v1.0.2 [INFO] [stderr] Checking dep_upgrade_new v1.0.0 (/opt/rustwide/workdir/fixtures/dep_upgrade/new) [INFO] [stderr] Checking dep_upgrade_old v1.0.0 (/opt/rustwide/workdir/fixtures/dep_upgrade/old) [INFO] [stderr] Checking bounds_new v1.0.0 (/opt/rustwide/workdir/fixtures/bounds/new) [INFO] [stderr] Checking inherent_impls_old v1.0.0 (/opt/rustwide/workdir/fixtures/inherent_impls/old) [INFO] [stderr] Checking inherent_impls_new v1.0.0 (/opt/rustwide/workdir/fixtures/inherent_impls/new) [INFO] [stderr] Checking issue_50_old v1.0.0 (/opt/rustwide/workdir/fixtures/issue_50/old) [INFO] [stderr] Checking removal_cargo_feature_dep_old v1.0.0 (/opt/rustwide/workdir/fixtures/removal_cargo_feature_dep/old) [INFO] [stderr] Checking infer_old v1.0.0 (/opt/rustwide/workdir/fixtures/infer/old) [INFO] [stderr] Checking pathologic_paths_old v1.0.0 (/opt/rustwide/workdir/fixtures/pathologic_paths/old) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> fixtures/issue_50/old/src/lib.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateWith<'a, T: 'a>(&'a T); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trait_objects_new v1.0.0 (/opt/rustwide/workdir/fixtures/trait_objects/new) [INFO] [stderr] Checking issue_34_new v1.0.0 (/opt/rustwide/workdir/fixtures/issue_34/new) [INFO] [stderr] Checking structs_new v1.0.0 (/opt/rustwide/workdir/fixtures/structs/new) [INFO] [stderr] Checking removal_use_new v1.0.0 (/opt/rustwide/workdir/fixtures/removal_use/new) [INFO] [stderr] Checking traits_new v1.0.0 (/opt/rustwide/workdir/fixtures/traits/new) [INFO] [stderr] Checking addition_old v1.0.0 (/opt/rustwide/workdir/fixtures/addition/old) [INFO] [stdout] warning: trait `Fgh` is never used [INFO] [stdout] --> fixtures/traits/new/src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait Fgh { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Abc` is never constructed [INFO] [stdout] --> fixtures/structs/new/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Abc { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kind_change_new v1.0.0 (/opt/rustwide/workdir/fixtures/kind_change/new) [INFO] [stdout] error: struct `Ghi` is never constructed [INFO] [stdout] --> fixtures/structs/new/src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Ghi { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Hij` is never constructed [INFO] [stdout] --> fixtures/structs/new/src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Hij { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking removal_new v1.0.0 (/opt/rustwide/workdir/fixtures/removal/new) [INFO] [stdout] error: struct `Jkl` is never constructed [INFO] [stdout] --> fixtures/structs/new/src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Jkl { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Mno` is never constructed [INFO] [stdout] --> fixtures/structs/new/src/lib.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Mno { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structs_new` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "355bda0fe2cb7d9951d82eac7ce69be1708f53b7ee145e22be464a165a36455a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "355bda0fe2cb7d9951d82eac7ce69be1708f53b7ee145e22be464a165a36455a", kill_on_drop: false }` [INFO] [stdout] 355bda0fe2cb7d9951d82eac7ce69be1708f53b7ee145e22be464a165a36455a