[INFO] fetching crate configurs 0.1.1... [INFO] checking configurs-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate configurs 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate configurs 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate configurs 0.1.1 [INFO] finished tweaking crates.io crate configurs 0.1.1 [INFO] tweaked toml for crates.io crate configurs 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding parking_lot v0.10.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.7.3 (available: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding serial_test v0.4.0 (available: v3.1.1) [INFO] [stderr] Adding serial_test_derive v0.4.0 (available: v3.1.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b93ca74115f2d9fd532e1bfab916ceccfeb0cd2496b968b71953aa5d92d54777 [INFO] running `Command { std: "docker" "start" "-a" "b93ca74115f2d9fd532e1bfab916ceccfeb0cd2496b968b71953aa5d92d54777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b93ca74115f2d9fd532e1bfab916ceccfeb0cd2496b968b71953aa5d92d54777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93ca74115f2d9fd532e1bfab916ceccfeb0cd2496b968b71953aa5d92d54777", kill_on_drop: false }` [INFO] [stdout] b93ca74115f2d9fd532e1bfab916ceccfeb0cd2496b968b71953aa5d92d54777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36c119e28c5f4e21382d37a9d08e4204857abe0d401ca05e0afa3a58071942b4 [INFO] running `Command { std: "docker" "start" "-a" "36c119e28c5f4e21382d37a9d08e4204857abe0d401ca05e0afa3a58071942b4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking configurs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stdout] error[E0432]: unresolved import `configurs_derive` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use configurs_derive::{Configuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `configurs_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[env="CI"] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[default="bla"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[env="PORT"] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[default="8088"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> src/lib.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[env="CONFIGURATION_ITEM"] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[default="configuration_item"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> src/lib.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | #[env="CONFIGURATION_ITEM_OTHER"] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[default="configuration_item_other"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[default] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: Default` is not satisfied [INFO] [stdout] --> src/lib.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Configuration, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Default` is not implemented for `Config` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(trivial_bounds)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `Config` in the current scope [INFO] [stdout] --> src/lib.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 33 | struct Config { [INFO] [stdout] | ------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 53 | let c = Config::load(); [INFO] [stdout] | ^^^^ function or associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Configuration` defines an item `load`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Configuration where Self: Default + LoadableFromEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `Config` in the current scope [INFO] [stdout] --> src/lib.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 33 | struct Config { [INFO] [stdout] | ------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | let c = Config::load(); [INFO] [stdout] | ^^^^ function or associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Configuration` defines an item `load`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Configuration where Self: Default + LoadableFromEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_from_file` found for struct `Config` in the current scope [INFO] [stdout] --> src/lib.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 33 | struct Config { [INFO] [stdout] | ------------- function or associated item `load_from_file` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | let c = Config::load_from_file("./fixtures/Config.toml"); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Configuration` defines an item `load_from_file`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Configuration where Self: Default + LoadableFromEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_from_file` found for struct `Config` in the current scope [INFO] [stdout] --> src/lib.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 33 | struct Config { [INFO] [stdout] | ------------- function or associated item `load_from_file` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | let c = Config::load_from_file("./fixtures/Config.toml"); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Configuration` defines an item `load_from_file`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Configuration where Self: Default + LoadableFromEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use super::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `configurs` (lib test) due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "36c119e28c5f4e21382d37a9d08e4204857abe0d401ca05e0afa3a58071942b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c119e28c5f4e21382d37a9d08e4204857abe0d401ca05e0afa3a58071942b4", kill_on_drop: false }` [INFO] [stdout] 36c119e28c5f4e21382d37a9d08e4204857abe0d401ca05e0afa3a58071942b4