[INFO] cloning repository https://github.com/laperlej/galaxy-training [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laperlej/galaxy-training" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaperlej%2Fgalaxy-training", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaperlej%2Fgalaxy-training'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0373b03d4f5b12f866999042265359d6a7b8d18 [INFO] building laperlej/galaxy-training against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaperlej%2Fgalaxy-training" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/laperlej/galaxy-training [INFO] finished tweaking git repo https://github.com/laperlej/galaxy-training [INFO] tweaked toml for git repo https://github.com/laperlej/galaxy-training written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/laperlej/galaxy-training on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/laperlej/galaxy-training 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.94 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.94 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.44 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.94 [INFO] [stderr] Downloaded wasm-bindgen v0.2.94 [INFO] [stderr] Downloaded js-sys v0.3.71 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.94 [INFO] [stderr] Downloaded mockito v1.5.0 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] [stderr] Downloaded web-sys v0.3.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a7129ec22447f35f16d975002964cca0ca7102b87e7ac1d4fd7a58f00e7d32 [INFO] running `Command { std: "docker" "start" "-a" "d5a7129ec22447f35f16d975002964cca0ca7102b87e7ac1d4fd7a58f00e7d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a7129ec22447f35f16d975002964cca0ca7102b87e7ac1d4fd7a58f00e7d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a7129ec22447f35f16d975002964cca0ca7102b87e7ac1d4fd7a58f00e7d32", kill_on_drop: false }` [INFO] [stdout] d5a7129ec22447f35f16d975002964cca0ca7102b87e7ac1d4fd7a58f00e7d32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a04827bdece943f32c17490468d3071865c620029209a2e8ea7e0464739f3676 [INFO] running `Command { std: "docker" "start" "-a" "a04827bdece943f32c17490468d3071865c620029209a2e8ea7e0464739f3676", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling chrono-tz v0.10.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.8 [INFO] [stderr] Compiling training-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_ymd` is never used [INFO] [stdout] --> src/config/date.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Date { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn from_ymd(year: i32, month: u32, day: u32) -> Date { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GroupRoleRepository` is never used [INFO] [stdout] --> src/galaxy/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait GroupRoleRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GroupUserRepository` is never used [INFO] [stdout] --> src/galaxy/mod.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait GroupUserRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `remove` are never used [INFO] [stdout] --> src/galaxy/config.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait EnvVarProvider { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 7 | fn get(&self, key: &str) -> std::result::Result; [INFO] [stdout] 8 | fn set(&mut self, key: &str, value: &str); [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn remove(&mut self, key: &str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/galaxy/types.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(id: &str, email: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/galaxy/types.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Role { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 36 | pub fn new(id: &str, name: &str, description: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/galaxy/types.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Group { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(id: &str, name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockGalaxy` is never constructed [INFO] [stdout] --> src/galaxy/mock.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | struct MockGalaxy { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/galaxy/mock.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl MockGalaxy { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 21 | fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IDGenerator` is never constructed [INFO] [stdout] --> src/galaxy/mock.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | struct IDGenerator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/galaxy/mock.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | impl IDGenerator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 170 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn next(&mut self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.64s [INFO] running `Command { std: "docker" "inspect" "a04827bdece943f32c17490468d3071865c620029209a2e8ea7e0464739f3676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04827bdece943f32c17490468d3071865c620029209a2e8ea7e0464739f3676", kill_on_drop: false }` [INFO] [stdout] a04827bdece943f32c17490468d3071865c620029209a2e8ea7e0464739f3676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f21a9a0a0171d0350b611d91f56ca6cdc3c30b12cc1b6736a53bf360bac1eb1 [INFO] running `Command { std: "docker" "start" "-a" "9f21a9a0a0171d0350b611d91f56ca6cdc3c30b12cc1b6736a53bf360bac1eb1", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling reqwest v0.12.8 [INFO] [stderr] Compiling mockito v1.5.0 [INFO] [stderr] Compiling training-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.03s [INFO] running `Command { std: "docker" "inspect" "9f21a9a0a0171d0350b611d91f56ca6cdc3c30b12cc1b6736a53bf360bac1eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f21a9a0a0171d0350b611d91f56ca6cdc3c30b12cc1b6736a53bf360bac1eb1", kill_on_drop: false }` [INFO] [stdout] 9f21a9a0a0171d0350b611d91f56ca6cdc3c30b12cc1b6736a53bf360bac1eb1