[INFO] fetching crate configurs 0.1.1... [INFO] checking configurs-0.1.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate configurs 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate configurs 0.1.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.12) [INFO] [stderr] Adding parking_lot v0.10.2 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.7.3 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding serial_test v0.4.0 (latest: v3.1.1) [INFO] [stderr] Adding serial_test_derive v0.4.0 (latest: v3.1.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.13) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c1053b12139a67d7f46a5535e09248063567a3f3be822b30af8b774896d76b7 [INFO] running `Command { std: "docker" "start" "-a" "7c1053b12139a67d7f46a5535e09248063567a3f3be822b30af8b774896d76b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c1053b12139a67d7f46a5535e09248063567a3f3be822b30af8b774896d76b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c1053b12139a67d7f46a5535e09248063567a3f3be822b30af8b774896d76b7", kill_on_drop: false }` [INFO] [stdout] 7c1053b12139a67d7f46a5535e09248063567a3f3be822b30af8b774896d76b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed6073827b300403f378d3bd291b8860dd73b7b0dfb5c860dfdf1c1cc34b889d [INFO] running `Command { std: "docker" "start" "-a" "ed6073827b300403f378d3bd291b8860dd73b7b0dfb5c860dfdf1c1cc34b889d", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking configurs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [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] error: aborting due to 15 previous errors [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 [INFO] running `Command { std: "docker" "inspect" "ed6073827b300403f378d3bd291b8860dd73b7b0dfb5c860dfdf1c1cc34b889d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6073827b300403f378d3bd291b8860dd73b7b0dfb5c860dfdf1c1cc34b889d", kill_on_drop: false }` [INFO] [stdout] ed6073827b300403f378d3bd291b8860dd73b7b0dfb5c860dfdf1c1cc34b889d