[INFO] cloning repository https://github.com/nais/build [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nais/build" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnais%2Fbuild", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnais%2Fbuild'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8698a532c80f344f87007dc39c8b65894a4ff8a [INFO] building nais/build against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnais%2Fbuild" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nais/build [INFO] finished tweaking git repo https://github.com/nais/build [INFO] tweaked toml for git repo https://github.com/nais/build written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nais/build 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/nais/build 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sxd-document v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.43 [INFO] [stderr] Downloaded google-cloud-token v0.1.2 [INFO] [stderr] Downloaded peresil v0.3.0 [INFO] [stderr] Downloaded typed-arena v1.7.0 [INFO] [stderr] Downloaded serde-inline-default v0.2.1 [INFO] [stderr] Downloaded google-cloud-metadata v0.5.0 [INFO] [stderr] Downloaded path-clean v1.0.1 [INFO] [stderr] Downloaded google-cloud-auth v0.17.2 [INFO] [stderr] Downloaded env_logger v0.11.5 [INFO] [stderr] Downloaded quinn-udp v0.5.7 [INFO] [stderr] Downloaded clap v4.5.18 [INFO] [stderr] Downloaded quinn v0.11.5 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] [stderr] Downloaded rustc-hash v2.0.0 [INFO] [stderr] Downloaded rustls v0.23.18 [INFO] [stderr] Downloaded sxd-xpath v0.4.2 [INFO] [stderr] Downloaded clap_builder v4.5.18 [INFO] [stderr] Downloaded env_filter v0.1.2 [INFO] [stderr] Downloaded quinn-proto v0.11.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a2c606d93662fb04c215b14f42a9abc2bfebe26903b6894b0e378a6a06acbdf7 [INFO] running `Command { std: "docker" "start" "-a" "a2c606d93662fb04c215b14f42a9abc2bfebe26903b6894b0e378a6a06acbdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2c606d93662fb04c215b14f42a9abc2bfebe26903b6894b0e378a6a06acbdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c606d93662fb04c215b14f42a9abc2bfebe26903b6894b0e378a6a06acbdf7", kill_on_drop: false }` [INFO] [stdout] a2c606d93662fb04c215b14f42a9abc2bfebe26903b6894b0e378a6a06acbdf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4ee1fa4538a86cd028ebf508f34117da2f1096696510c10a26b918b3bda5be76 [INFO] running `Command { std: "docker" "start" "-a" "4ee1fa4538a86cd028ebf508f34117da2f1096696510c10a26b918b3bda5be76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sxd-xpath v0.4.2 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling serde-inline-default v0.2.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling google-cloud-token v0.1.2 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling google-cloud-metadata v0.5.0 [INFO] [stderr] Compiling google-cloud-auth v0.17.2 [INFO] [stderr] Compiling nb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `BranchRule` is never constructed [INFO] [stdout] --> src/config.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct BranchRule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchDeployRule` is never constructed [INFO] [stdout] --> src/config.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct BranchDeployRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Build` is never constructed [INFO] [stdout] --> src/config.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Build { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Docker` is never constructed [INFO] [stdout] --> src/config.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Docker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gar_service_account_id` is never used [INFO] [stdout] --> src/auth.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn gar_service_account_id(slug: &str, project_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slug_hash_prefix_truncate` is never used [INFO] [stdout] --> src/auth.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn slug_hash_prefix_truncate(slug: &str, prefix: &str, max_length: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/auth.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn truncate(s: &str, length: usize) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "4ee1fa4538a86cd028ebf508f34117da2f1096696510c10a26b918b3bda5be76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee1fa4538a86cd028ebf508f34117da2f1096696510c10a26b918b3bda5be76", kill_on_drop: false }` [INFO] [stdout] 4ee1fa4538a86cd028ebf508f34117da2f1096696510c10a26b918b3bda5be76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4d7b76794aa62c20171ee6258a7eb81b8061dc7498af7fe44e4cd619ff6d64c8 [INFO] running `Command { std: "docker" "start" "-a" "4d7b76794aa62c20171ee6258a7eb81b8061dc7498af7fe44e4cd619ff6d64c8", kill_on_drop: false }` [INFO] [stderr] Compiling nb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `BranchRule` is never constructed [INFO] [stdout] --> src/config.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct BranchRule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchDeployRule` is never constructed [INFO] [stdout] --> src/config.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct BranchDeployRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Build` is never constructed [INFO] [stdout] --> src/config.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Build { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Docker` is never constructed [INFO] [stdout] --> src/config.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Docker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.37s [INFO] running `Command { std: "docker" "inspect" "4d7b76794aa62c20171ee6258a7eb81b8061dc7498af7fe44e4cd619ff6d64c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d7b76794aa62c20171ee6258a7eb81b8061dc7498af7fe44e4cd619ff6d64c8", kill_on_drop: false }` [INFO] [stdout] 4d7b76794aa62c20171ee6258a7eb81b8061dc7498af7fe44e4cd619ff6d64c8