[INFO] fetching crate wildland-cargo-lib 0.40.0... [INFO] testing wildland-cargo-lib-0.40.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wildland-cargo-lib 0.40.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate wildland-cargo-lib 0.40.0 [INFO] finished tweaking crates.io crate wildland-cargo-lib 0.40.0 [INFO] tweaked toml for crates.io crate wildland-cargo-lib 0.40.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wildland-cargo-lib 0.40.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 337 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.20.0 (available: v0.22.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.1) [INFO] [stderr] Adding mockito v0.31.1 (available: v1.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rstest v0.16.0 (available: v0.26.1) [INFO] [stderr] Adding rusty-bind v0.1.3 (available: v0.3.7) [INFO] [stderr] Adding rusty-bind-build v0.1.3 (available: v0.3.7) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tracing-log v0.1.4 (available: v0.2.0) [INFO] [stderr] Adding tracing-oslog v0.1.2 (available: v0.3.0) [INFO] [stderr] Adding x25519-dalek v1.1.1 (available: v1.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9789ec603e5522581728d0a4bf56906824607b0f41d0689c3359ffccc287dedf [INFO] running `Command { std: "docker" "start" "-a" "9789ec603e5522581728d0a4bf56906824607b0f41d0689c3359ffccc287dedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9789ec603e5522581728d0a4bf56906824607b0f41d0689c3359ffccc287dedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9789ec603e5522581728d0a4bf56906824607b0f41d0689c3359ffccc287dedf", kill_on_drop: false }` [INFO] [stdout] 9789ec603e5522581728d0a4bf56906824607b0f41d0689c3359ffccc287dedf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46756c30542108949912e64b5f39218e7a1b54189eb9f405f273cb153321be2b [INFO] running `Command { std: "docker" "start" "-a" "46756c30542108949912e64b5f39218e7a1b54189eb9f405f273cb153321be2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Compiling ron v0.6.6 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling wildland-cargo-lib v0.40.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustbreak v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling xsalsa20poly1305 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling crypto_box v0.8.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tiny-bip39 v1.0.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling wildland-crypto v0.40.0 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling minreq v2.14.1 [INFO] [stderr] Compiling wildland-http-client v0.40.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling wildland-corex v0.40.0 [INFO] [stderr] Compiling wildland-dfs v0.40.0 [INFO] [stderr] Compiling wildland-catlib v0.40.0 [INFO] [stderr] Compiling wildland-lfs v0.40.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/api/cargo_lib.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | CARGO_LIB.write(cargo_lib); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/api/cargo_lib.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { Ok(CARGO_LIB.assume_init_ref().clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.07s [INFO] running `Command { std: "docker" "inspect" "46756c30542108949912e64b5f39218e7a1b54189eb9f405f273cb153321be2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46756c30542108949912e64b5f39218e7a1b54189eb9f405f273cb153321be2b", kill_on_drop: false }` [INFO] [stdout] 46756c30542108949912e64b5f39218e7a1b54189eb9f405f273cb153321be2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec04cb9f770c47cbf16185cedd7636557882ebc2fa70a3453a9d8e77dd853c29 [INFO] running `Command { std: "docker" "start" "-a" "ec04cb9f770c47cbf16185cedd7636557882ebc2fa70a3453a9d8e77dd853c29", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rstest_macros v0.16.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/api/cargo_lib.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | CARGO_LIB.write(cargo_lib); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/api/cargo_lib.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { Ok(CARGO_LIB.assume_init_ref().clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mockito v0.31.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.16.0 [INFO] [stderr] Compiling wildland-cargo-lib v0.40.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/api/utils.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | let dir = tempfile::tempdir().unwrap().into_path(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/api/cargo_lib.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | CARGO_LIB.write(cargo_lib); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/api/cargo_lib.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { Ok(CARGO_LIB.assume_init_ref().clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.09s [INFO] running `Command { std: "docker" "inspect" "ec04cb9f770c47cbf16185cedd7636557882ebc2fa70a3453a9d8e77dd853c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec04cb9f770c47cbf16185cedd7636557882ebc2fa70a3453a9d8e77dd853c29", kill_on_drop: false }` [INFO] [stdout] ec04cb9f770c47cbf16185cedd7636557882ebc2fa70a3453a9d8e77dd853c29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db5afc3fcc5933dc15a9616215a1b4f553b81cd8852b618c755c1d7438050734 [INFO] running `Command { std: "docker" "start" "-a" "db5afc3fcc5933dc15a9616215a1b4f553b81cd8852b618c755c1d7438050734", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/api/cargo_lib.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | CARGO_LIB.write(cargo_lib); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/api/cargo_lib.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | unsafe { Ok(CARGO_LIB.assume_init_ref().clone()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `wildland-cargo-lib` (lib) generated 2 warnings [INFO] [stderr] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stderr] --> src/api/utils.rs:17:48 [INFO] [stderr] | [INFO] [stderr] 17 | let dir = tempfile::tempdir().unwrap().into_path(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wildland-cargo-lib` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wildland_cargo_lib-b5500807bfdb3392) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test api::config::tests::test_parsing_debug_config ... ok [INFO] [stdout] test api::config::tests::test_parsing_prod_config ... ok [INFO] [stdout] test templates::foundation_storage::tests::serialize_foundation_storage_template_as_yaml ... ok [INFO] [stdout] test templates::foundation_storage::tests::serialize_foundation_storage_template_as_json ... ok [INFO] [stdout] test templates::foundation_storage::tests::deserialize_foundation_storage_template_from_yaml ... ok [INFO] [stdout] test templates::foundation_storage::tests::render_foundation_storage_template ... ok [INFO] [stdout] test api::user::tests::create_mnemonic_from_vec_with_valid_words_should_succeed ... ok [INFO] [stdout] test api::user::tests::create_mnemonic_from_string_with_valid_words_should_succeed ... ok [INFO] [stdout] test api::user::tests::create_mnemonic_from_string_with_invalid_words_should_return_err ... ok [INFO] [stdout] test api::user::tests::create_mnemonic_from_vec_with_invalid_words_should_return_err ... ok [INFO] [stdout] test api::user::tests::get_user_should_return_none_if_it_does_not_exist ... ok [INFO] [stdout] test api::cargo_user::tests::test_requesting_free_tier_storage ... ok [INFO] [stdout] test api::cargo_user::tests::test_getting_created_container ... ok [INFO] [stdout] test api::cargo_user::tests::test_creating_container ... ok [INFO] [stdout] test api::cargo_user::tests::test_delete_created_container ... ok [INFO] [stdout] test api::user::tests::create_user_should_return_user_structure ... ok [INFO] [stdout] test api::user::tests::get_user_should_return_some_if_it_was_created ... ok [INFO] [stderr] Doc-tests wildland_cargo_lib [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/api/config.rs - api::config (line 21) ... ok [INFO] [stdout] test src/api/config.rs - api::config::LoggerConfig (line 143) ... ok [INFO] [stdout] test src/api/cargo_lib.rs - api::cargo_lib::create_cargo_lib (line 127) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.58s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db5afc3fcc5933dc15a9616215a1b4f553b81cd8852b618c755c1d7438050734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db5afc3fcc5933dc15a9616215a1b4f553b81cd8852b618c755c1d7438050734", kill_on_drop: false }` [INFO] [stdout] db5afc3fcc5933dc15a9616215a1b4f553b81cd8852b618c755c1d7438050734