[INFO] cloning repository https://github.com/JeroenKnoops/test-generics-traits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JeroenKnoops/test-generics-traits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeroenKnoops%2Ftest-generics-traits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeroenKnoops%2Ftest-generics-traits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 828a09f79205d5f795a766084f90529e62f73318 [INFO] checking JeroenKnoops/test-generics-traits against try#3c75d5844aa65b4aa19243ac44ceda49fe4e61ca for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeroenKnoops%2Ftest-generics-traits" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JeroenKnoops/test-generics-traits [INFO] finished tweaking git repo https://github.com/JeroenKnoops/test-generics-traits [INFO] tweaked toml for git repo https://github.com/JeroenKnoops/test-generics-traits written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JeroenKnoops/test-generics-traits on toolchain 3c75d5844aa65b4aa19243ac44ceda49fe4e61ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JeroenKnoops/test-generics-traits 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" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking JeroenKnoops/test-generics-traits against try#3c75d5844aa65b4aa19243ac44ceda49fe4e61ca for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeroenKnoops%2Ftest-generics-traits" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JeroenKnoops/test-generics-traits [INFO] finished tweaking git repo https://github.com/JeroenKnoops/test-generics-traits [INFO] tweaked toml for git repo https://github.com/JeroenKnoops/test-generics-traits written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JeroenKnoops/test-generics-traits on toolchain 3c75d5844aa65b4aa19243ac44ceda49fe4e61ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JeroenKnoops/test-generics-traits 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" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9abc28975d10b9d71ebe36f91b66f539169e078efb4242a49c20efb571783c42 [INFO] running `Command { std: "docker" "start" "-a" "9abc28975d10b9d71ebe36f91b66f539169e078efb4242a49c20efb571783c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9abc28975d10b9d71ebe36f91b66f539169e078efb4242a49c20efb571783c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abc28975d10b9d71ebe36f91b66f539169e078efb4242a49c20efb571783c42", kill_on_drop: false }` [INFO] [stdout] 9abc28975d10b9d71ebe36f91b66f539169e078efb4242a49c20efb571783c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 468548e740f8ef149a65928b1c44b58a8613524ad3c5c17fe0cd985d36cb0282 [INFO] running `Command { std: "docker" "start" "-a" "468548e740f8ef149a65928b1c44b58a8613524ad3c5c17fe0cd985d36cb0282", kill_on_drop: false }` [INFO] [stderr] Checking test-generics-traits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use query::{Query, QueryBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use query::{Query, QueryBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource`, `filter`, `sort`, and `uri` are never read [INFO] [stdout] --> src/config.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | pub resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | pub filter: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub sort: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `elements` are never read [INFO] [stdout] --> src/query.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub elements: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elements` is never read [INFO] [stdout] --> src/query.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct QueryBuilder [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | elements: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Describe` is never used [INFO] [stdout] --> src/query.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait Describe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `desc` is never used [INFO] [stdout] --> src/query.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn desc(model: &T) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Resource` is never used [INFO] [stdout] --> src/query.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `count` are never read [INFO] [stdout] --> src/tag.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceConfig` is never constructed [INFO] [stdout] --> src/tag.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ResourceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tag.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ResourceConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 17 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/user.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub account_id: Option, // removed users do not have an account_id [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | pub user_id: i32, // removed users do have a negative user_id [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub is_employee: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub creation_date: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub user_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub last_access_date: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub reputation_change_year: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub reputation_change_quarter: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub reputation_change_month: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub reputation_change_week: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub reputation_change_day: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub reputation: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub profile_image: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource`, `filter`, `sort`, and `uri` are never read [INFO] [stdout] --> src/config.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | pub resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | pub filter: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub sort: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `elements` are never read [INFO] [stdout] --> src/query.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub elements: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elements` is never read [INFO] [stdout] --> src/query.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct QueryBuilder [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | elements: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/tag.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tag { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] 6 | pub count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceConfig` is never constructed [INFO] [stdout] --> src/tag.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ResourceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tag.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ResourceConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 17 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/user.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub account_id: Option, // removed users do not have an account_id [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | pub display_name: String, [INFO] [stdout] 7 | pub user_id: i32, // removed users do have a negative user_id [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub is_employee: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub creation_date: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub user_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub last_access_date: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub reputation_change_year: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub reputation_change_quarter: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub reputation_change_month: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub reputation_change_week: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub reputation_change_day: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub reputation: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub profile_image: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "468548e740f8ef149a65928b1c44b58a8613524ad3c5c17fe0cd985d36cb0282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468548e740f8ef149a65928b1c44b58a8613524ad3c5c17fe0cd985d36cb0282", kill_on_drop: false }` [INFO] [stdout] 468548e740f8ef149a65928b1c44b58a8613524ad3c5c17fe0cd985d36cb0282