[INFO] fetching crate spicex 0.1.2... [INFO] testing spicex-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate spicex 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate spicex 0.1.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate spicex 0.1.2 [INFO] tweaked toml for crates.io crate spicex 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spicex 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spicex 0.1.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2016c7ef6b8be664ff7ff28b485d376dc16556d152e417b8588ed56aaee29550 [INFO] running `Command { std: "docker" "start" "-a" "2016c7ef6b8be664ff7ff28b485d376dc16556d152e417b8588ed56aaee29550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2016c7ef6b8be664ff7ff28b485d376dc16556d152e417b8588ed56aaee29550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2016c7ef6b8be664ff7ff28b485d376dc16556d152e417b8588ed56aaee29550", kill_on_drop: false }` [INFO] [stdout] 2016c7ef6b8be664ff7ff28b485d376dc16556d152e417b8588ed56aaee29550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8f83591238840270f6acc38608169940b5f8a8f60dc209036b37e7996819d66 [INFO] running `Command { std: "docker" "start" "-a" "a8f83591238840270f6acc38608169940b5f8a8f60dc209036b37e7996819d66", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling configparser v1.0.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling ini v1.3.0 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling spicex v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.48s [INFO] running `Command { std: "docker" "inspect" "a8f83591238840270f6acc38608169940b5f8a8f60dc209036b37e7996819d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f83591238840270f6acc38608169940b5f8a8f60dc209036b37e7996819d66", kill_on_drop: false }` [INFO] [stdout] a8f83591238840270f6acc38608169940b5f8a8f60dc209036b37e7996819d66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac07f2cf2f0fa2a2ceffa6e9bdf7cf8f503805ea4f1403eac0751c1df4ca32be [INFO] running `Command { std: "docker" "start" "-a" "ac07f2cf2f0fa2a2ceffa6e9bdf7cf8f503805ea4f1403eac0751c1df4ca32be", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling spicex v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> examples/web_server_config.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConfigValue` [INFO] [stdout] --> examples/env_layer_usage.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use spicex::{ConfigLayer, ConfigValue, EnvConfigLayer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app`, `database`, and `servers` are never read [INFO] [stdout] --> examples/performance_benchmarks.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | struct BenchmarkConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 354 | app: AppConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | database: DatabaseConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 356 | servers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `version`, and `debug` are never read [INFO] [stdout] --> examples/performance_benchmarks.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 360 | struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 361 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 362 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 363 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `ssl` are never read [INFO] [stdout] --> examples/performance_benchmarks.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 367 | struct DatabaseConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 368 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 369 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 370 | ssl: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `enabled` are never read [INFO] [stdout] --> examples/performance_benchmarks.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 374 | struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 375 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 376 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 377 | enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConfigError` [INFO] [stdout] --> examples/migration_guide.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use spicex::{ConfigError, ConfigValue, Spice}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_service` is never used [INFO] [stdout] --> examples/real_world_usage.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl AppConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_service(&self, name: &str) -> Option<&ServiceConfig> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TempDir` [INFO] [stdout] --> src/config.rs:4847:28 [INFO] [stdout] | [INFO] [stdout] 4847 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `TempDir` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2052 + use tempfile::TempDir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/config.rs:4849:13 [INFO] [stdout] | [INFO] [stdout] 4849 | fs::create_dir(&readonly_dir).unwrap(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2052 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/config.rs:4852:29 [INFO] [stdout] | [INFO] [stdout] 4852 | let mut perms = fs::metadata(&readonly_dir).unwrap().permissions(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2052 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/config.rs:4854:13 [INFO] [stdout] | [INFO] [stdout] 4854 | fs::set_permissions(&readonly_dir, perms).unwrap(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2052 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/config.rs:4876:29 [INFO] [stdout] | [INFO] [stdout] 4876 | let mut perms = fs::metadata(&readonly_dir).unwrap().permissions(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2052 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/config.rs:4878:13 [INFO] [stdout] | [INFO] [stdout] 4878 | fs::set_permissions(&readonly_dir, perms).unwrap(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2052 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spicex` (lib test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ac07f2cf2f0fa2a2ceffa6e9bdf7cf8f503805ea4f1403eac0751c1df4ca32be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac07f2cf2f0fa2a2ceffa6e9bdf7cf8f503805ea4f1403eac0751c1df4ca32be", kill_on_drop: false }` [INFO] [stdout] ac07f2cf2f0fa2a2ceffa6e9bdf7cf8f503805ea4f1403eac0751c1df4ca32be