[INFO] cloning repository https://github.com/zebp/ghh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zebp/ghh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzebp%2Fghh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzebp%2Fghh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db01a37e76a4fc140a7aa032700fa16ef4ef81a9 [INFO] checking zebp/ghh against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzebp%2Fghh" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zebp/ghh [INFO] finished tweaking git repo https://github.com/zebp/ghh [INFO] tweaked toml for git repo https://github.com/zebp/ghh written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zebp/ghh on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zebp/ghh 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bollard-stubs v1.41.0 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded serde_with_macros v1.5.0 [INFO] [stderr] Downloaded tracing-core v0.1.20 [INFO] [stderr] Downloaded tracing v0.1.27 [INFO] [stderr] Downloaded serde_with v1.10.0 [INFO] [stderr] Downloaded bollard v0.11.0 [INFO] [stderr] Downloaded h2 v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12a2eae18a37b86263562ccc0618452f0731e55dbdbac3623ae8782f929b4c31 [INFO] running `Command { std: "docker" "start" "-a" "12a2eae18a37b86263562ccc0618452f0731e55dbdbac3623ae8782f929b4c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12a2eae18a37b86263562ccc0618452f0731e55dbdbac3623ae8782f929b4c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a2eae18a37b86263562ccc0618452f0731e55dbdbac3623ae8782f929b4c31", kill_on_drop: false }` [INFO] [stdout] 12a2eae18a37b86263562ccc0618452f0731e55dbdbac3623ae8782f929b4c31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02f69fef453c7b1c4cc0359fa61dcb219191ad459a39702f35777932bcf11d30 [INFO] running `Command { std: "docker" "start" "-a" "02f69fef453c7b1c4cc0359fa61dcb219191ad459a39702f35777932bcf11d30", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking tracing v0.1.27 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.5.0 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking serde_with v1.10.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking bollard-stubs v1.41.0 [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking bollard v0.11.0 [INFO] [stderr] Checking ghh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `owner`, `name`, and `interests` are never read [INFO] [stdout] --> src/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RepositoryConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 18 | /// The user or organization that owns the repo on github. [INFO] [stdout] 19 | pub owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | /// The name of the repo. [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | /// The users interests for this repository. [INFO] [stdout] 23 | pub interests: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Commit(CommitInterest), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Interest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Commit(CommitInterest), [INFO] [stdout] 30 + Commit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Release(ReleaseInterest), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Interest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Release(ReleaseInterest), [INFO] [stdout] 31 + Release(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `containers` is never used [INFO] [stdout] --> src/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Interest { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 35 | /// Gets all the container configs for an interest. [INFO] [stdout] 36 | pub fn containers(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `branch` and `containers` are never read [INFO] [stdout] --> src/config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CommitInterest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 46 | // A branch that the commit must occur on for the event to start a container. [INFO] [stdout] 47 | pub branch: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | /// All the containers that are spawned when the interest is met. [INFO] [stdout] 49 | pub containers: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitInterest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `containers` is never read [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ReleaseInterest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | /// All the containers that are spawned when the interest is met. [INFO] [stdout] 55 | pub containers: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReleaseInterest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image`, `event_path`, and `timeout` are never read [INFO] [stdout] --> src/config.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ContainerConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 60 | /// The image used for the container. [INFO] [stdout] 61 | pub image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub event_path: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 65 | /// The number of seconds the container is allowed to run before it is killed. [INFO] [stdout] 66 | pub timeout: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner`, `name`, and `interests` are never read [INFO] [stdout] --> src/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RepositoryConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 18 | /// The user or organization that owns the repo on github. [INFO] [stdout] 19 | pub owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | /// The name of the repo. [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | /// The users interests for this repository. [INFO] [stdout] 23 | pub interests: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Commit(CommitInterest), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Interest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Commit(CommitInterest), [INFO] [stdout] 30 + Commit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Release(ReleaseInterest), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Interest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Release(ReleaseInterest), [INFO] [stdout] 31 + Release(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `containers` is never used [INFO] [stdout] --> src/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Interest { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 35 | /// Gets all the container configs for an interest. [INFO] [stdout] 36 | pub fn containers(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `branch` and `containers` are never read [INFO] [stdout] --> src/config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CommitInterest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 46 | // A branch that the commit must occur on for the event to start a container. [INFO] [stdout] 47 | pub branch: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | /// All the containers that are spawned when the interest is met. [INFO] [stdout] 49 | pub containers: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitInterest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `containers` is never read [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ReleaseInterest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | /// All the containers that are spawned when the interest is met. [INFO] [stdout] 55 | pub containers: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReleaseInterest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image`, `event_path`, and `timeout` are never read [INFO] [stdout] --> src/config.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ContainerConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 60 | /// The image used for the container. [INFO] [stdout] 61 | pub image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub event_path: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 65 | /// The number of seconds the container is allowed to run before it is killed. [INFO] [stdout] 66 | pub timeout: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.17s [INFO] running `Command { std: "docker" "inspect" "02f69fef453c7b1c4cc0359fa61dcb219191ad459a39702f35777932bcf11d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f69fef453c7b1c4cc0359fa61dcb219191ad459a39702f35777932bcf11d30", kill_on_drop: false }` [INFO] [stdout] 02f69fef453c7b1c4cc0359fa61dcb219191ad459a39702f35777932bcf11d30