[INFO] cloning repository https://github.com/archlinux/gluebuddy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/archlinux/gluebuddy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchlinux%2Fgluebuddy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchlinux%2Fgluebuddy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd23b08619db2d6cc6c236f5965e26b197751229 [INFO] checking archlinux/gluebuddy against master#1be5c8f90912c446ecbdc405cbc4a89f9acd20fd for pr-93394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchlinux%2Fgluebuddy" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archlinux/gluebuddy on toolchain 1be5c8f90912c446ecbdc405cbc4a89f9acd20fd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/archlinux/gluebuddy [INFO] finished tweaking git repo https://github.com/archlinux/gluebuddy [INFO] tweaked toml for git repo https://github.com/archlinux/gluebuddy written to /workspace/builds/worker-114/source/Cargo.toml [INFO] crate git repo https://github.com/archlinux/gluebuddy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4ac8bc89e93efb47fbe886ae7a9acc07277a6b531ae50f5e7641f2209826736 [INFO] running `Command { std: "docker" "start" "-a" "f4ac8bc89e93efb47fbe886ae7a9acc07277a6b531ae50f5e7641f2209826736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4ac8bc89e93efb47fbe886ae7a9acc07277a6b531ae50f5e7641f2209826736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ac8bc89e93efb47fbe886ae7a9acc07277a6b531ae50f5e7641f2209826736", kill_on_drop: false }` [INFO] [stdout] f4ac8bc89e93efb47fbe886ae7a9acc07277a6b531ae50f5e7641f2209826736 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1be5c8f90912c446ecbdc405cbc4a89f9acd20fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc1c9c047cc2db3a0bc43f4fb05baeb4dd34b0e26dce90c6819bb4f0fe274fdd [INFO] running `Command { std: "docker" "start" "-a" "cc1c9c047cc2db3a0bc43f4fb05baeb4dd34b0e26dce90c6819bb4f0fe274fdd", 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] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_with v1.11.0 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Compiling graphql_client_codegen v0.10.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking keycloak v14.0.0 [INFO] [stderr] Compiling graphql_query_derive v0.10.0 [INFO] [stderr] Checking graphql_client v0.10.0 [INFO] [stderr] Checking gitlab v0.1406.0 [INFO] [stderr] Checking gluebuddy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `user_from_gitlab_id` [INFO] [stdout] --> src/state.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn user_from_gitlab_id(&self, gitlab_id: u64) -> Option<&User> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_gitlab_user` [INFO] [stdout] --> src/util.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn format_gitlab_user(username: &str, admin: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAIN_BRANCH` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const MAIN_BRANCH: &str = "main"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ALL_TAGS` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const ALL_TAGS: &str = "*"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_project_member` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:645:14 [INFO] [stdout] | [INFO] [stdout] 645 | async fn add_project_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_protected_branch` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:867:4 [INFO] [stdout] | [INFO] [stdout] 867 | fn get_protected_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `protect_branch` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:881:4 [INFO] [stdout] | [INFO] [stdout] 881 | fn protect_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unprotect_branch` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:902:4 [INFO] [stdout] | [INFO] [stdout] 902 | fn unprotect_branch(client: &Gitlab, project: &GroupProjects, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_protected_tag` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:912:4 [INFO] [stdout] | [INFO] [stdout] 912 | fn get_protected_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unprotect_tag` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:922:4 [INFO] [stdout] | [INFO] [stdout] 922 | fn unprotect_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `protect_tag` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:932:4 [INFO] [stdout] | [INFO] [stdout] 932 | fn protect_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/components/gitlab/types.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn as_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/components/gitlab/types.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn as_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_gitlab_type` [INFO] [stdout] --> src/components/gitlab/types.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn as_gitlab_type(self) -> BranchProtection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_from_gitlab_id` [INFO] [stdout] --> src/state.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn user_from_gitlab_id(&self, gitlab_id: u64) -> Option<&User> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_gitlab_user` [INFO] [stdout] --> src/util.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn format_gitlab_user(username: &str, admin: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAIN_BRANCH` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const MAIN_BRANCH: &str = "main"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ALL_TAGS` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const ALL_TAGS: &str = "*"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_project_member` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:645:14 [INFO] [stdout] | [INFO] [stdout] 645 | async fn add_project_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_protected_branch` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:867:4 [INFO] [stdout] | [INFO] [stdout] 867 | fn get_protected_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `protect_branch` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:881:4 [INFO] [stdout] | [INFO] [stdout] 881 | fn protect_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unprotect_branch` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:902:4 [INFO] [stdout] | [INFO] [stdout] 902 | fn unprotect_branch(client: &Gitlab, project: &GroupProjects, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_protected_tag` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:912:4 [INFO] [stdout] | [INFO] [stdout] 912 | fn get_protected_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unprotect_tag` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:922:4 [INFO] [stdout] | [INFO] [stdout] 922 | fn unprotect_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `protect_tag` [INFO] [stdout] --> src/components/gitlab/gitlab.rs:932:4 [INFO] [stdout] | [INFO] [stdout] 932 | fn protect_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/components/gitlab/types.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn as_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/components/gitlab/types.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn as_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_gitlab_type` [INFO] [stdout] --> src/components/gitlab/types.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn as_gitlab_type(self) -> BranchProtection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.37s [INFO] running `Command { std: "docker" "inspect" "cc1c9c047cc2db3a0bc43f4fb05baeb4dd34b0e26dce90c6819bb4f0fe274fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1c9c047cc2db3a0bc43f4fb05baeb4dd34b0e26dce90c6819bb4f0fe274fdd", kill_on_drop: false }` [INFO] [stdout] cc1c9c047cc2db3a0bc43f4fb05baeb4dd34b0e26dce90c6819bb4f0fe274fdd