[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] testing archlinux/gluebuddy against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchlinux%2Fgluebuddy" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archlinux/gluebuddy on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-12/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" "+beta-2022-02-22" "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 graphql-introspection-query v0.2.0 [INFO] [stderr] Downloaded graphql_query_derive v0.10.0 [INFO] [stderr] Downloaded graphql_client_codegen v0.10.0 [INFO] [stderr] Downloaded graphql_client v0.10.0 [INFO] [stderr] Downloaded serde_with v1.11.0 [INFO] [stderr] Downloaded keycloak v14.0.0 [INFO] [stderr] Downloaded gitlab v0.1406.0 [INFO] running `Command { std: "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" "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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5ecb3458ed35e805dafebaa750359ab605355dcdf14e6cd31152a0b93c8e008 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c5ecb3458ed35e805dafebaa750359ab605355dcdf14e6cd31152a0b93c8e008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5ecb3458ed35e805dafebaa750359ab605355dcdf14e6cd31152a0b93c8e008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ecb3458ed35e805dafebaa750359ab605355dcdf14e6cd31152a0b93c8e008", kill_on_drop: false }` [INFO] [stdout] c5ecb3458ed35e805dafebaa750359ab605355dcdf14e6cd31152a0b93c8e008 [INFO] running `Command { std: "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" "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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1265beb6419592f830932d2beece01875b63154b6140d84c5e73df92eb2c6922 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1265beb6419592f830932d2beece01875b63154b6140d84c5e73df92eb2c6922", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling 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 futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling strum_macros v0.23.1 [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] Compiling darling v0.13.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_with v1.11.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling graphql_client_codegen v0.10.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling graphql_query_derive v0.10.0 [INFO] [stderr] Compiling graphql_client v0.10.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling gitlab v0.1406.0 [INFO] [stderr] Compiling keycloak v14.0.0 [INFO] [stderr] Compiling 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 23s [INFO] running `Command { std: "docker" "inspect" "1265beb6419592f830932d2beece01875b63154b6140d84c5e73df92eb2c6922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1265beb6419592f830932d2beece01875b63154b6140d84c5e73df92eb2c6922", kill_on_drop: false }` [INFO] [stdout] 1265beb6419592f830932d2beece01875b63154b6140d84c5e73df92eb2c6922 [INFO] running `Command { std: "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" "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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a872ca9e66661cc42bcc086a6e22bbca780f52409881cdfee87afac39974437 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8a872ca9e66661cc42bcc086a6e22bbca780f52409881cdfee87afac39974437", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "8a872ca9e66661cc42bcc086a6e22bbca780f52409881cdfee87afac39974437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a872ca9e66661cc42bcc086a6e22bbca780f52409881cdfee87afac39974437", kill_on_drop: false }` [INFO] [stdout] 8a872ca9e66661cc42bcc086a6e22bbca780f52409881cdfee87afac39974437 [INFO] running `Command { std: "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" "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" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd05f45d795461089c58c602197f9dd03840e4b647a9442249671da8d4e3fcbb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dd05f45d795461089c58c602197f9dd03840e4b647a9442249671da8d4e3fcbb", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `user_from_gitlab_id` [INFO] [stderr] --> src/state.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn user_from_gitlab_id(&self, gitlab_id: u64) -> Option<&User> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `format_gitlab_user` [INFO] [stderr] --> src/util.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn format_gitlab_user(username: &str, admin: bool) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAIN_BRANCH` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | const MAIN_BRANCH: &str = "main"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ALL_TAGS` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | const ALL_TAGS: &str = "*"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_project_member` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:645:14 [INFO] [stderr] | [INFO] [stderr] 645 | async fn add_project_member( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_protected_branch` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:867:4 [INFO] [stderr] | [INFO] [stderr] 867 | fn get_protected_branch( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `protect_branch` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:881:4 [INFO] [stderr] | [INFO] [stderr] 881 | fn protect_branch( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `unprotect_branch` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:902:4 [INFO] [stderr] | [INFO] [stderr] 902 | fn unprotect_branch(client: &Gitlab, project: &GroupProjects, branch: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_protected_tag` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:912:4 [INFO] [stderr] | [INFO] [stderr] 912 | fn get_protected_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `unprotect_tag` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:922:4 [INFO] [stderr] | [INFO] [stderr] 922 | fn unprotect_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `protect_tag` [INFO] [stderr] --> src/components/gitlab/gitlab.rs:932:4 [INFO] [stderr] | [INFO] [stderr] 932 | fn protect_tag(client: &Gitlab, project: &GroupProjects, tag: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_str` [INFO] [stderr] --> src/components/gitlab/types.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn as_str(self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_str` [INFO] [stderr] --> src/components/gitlab/types.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn as_str(self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_gitlab_type` [INFO] [stderr] --> src/components/gitlab/types.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn as_gitlab_type(self) -> BranchProtection { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gluebuddy` (bin "gluebuddy" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gluebuddy-45f6fec1f960717b) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dd05f45d795461089c58c602197f9dd03840e4b647a9442249671da8d4e3fcbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd05f45d795461089c58c602197f9dd03840e4b647a9442249671da8d4e3fcbb", kill_on_drop: false }` [INFO] [stdout] dd05f45d795461089c58c602197f9dd03840e4b647a9442249671da8d4e3fcbb