[INFO] fetching crate configurs 0.1.1... [INFO] checking configurs-0.1.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate configurs 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate configurs 0.1.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 serial_test v0.4.0 (available: v3.2.0) [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c43b2a58ed2716dc325bc316ae278b00783295638ec040e01c753419f7f3e7b3 [INFO] running `Command { std: "docker" "start" "-a" "c43b2a58ed2716dc325bc316ae278b00783295638ec040e01c753419f7f3e7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c43b2a58ed2716dc325bc316ae278b00783295638ec040e01c753419f7f3e7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c43b2a58ed2716dc325bc316ae278b00783295638ec040e01c753419f7f3e7b3", kill_on_drop: false }` [INFO] [stdout] c43b2a58ed2716dc325bc316ae278b00783295638ec040e01c753419f7f3e7b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a0e24c98e4851eb0e2492c91c64a1f22eaeea89805350358086cf60382f3cb1 [INFO] running `Command { std: "docker" "start" "-a" "4a0e24c98e4851eb0e2492c91c64a1f22eaeea89805350358086cf60382f3cb1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking configurs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [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] 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 15 previous errors [INFO] running `Command { std: "docker" "inspect" "4a0e24c98e4851eb0e2492c91c64a1f22eaeea89805350358086cf60382f3cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a0e24c98e4851eb0e2492c91c64a1f22eaeea89805350358086cf60382f3cb1", kill_on_drop: false }` [INFO] [stdout] 4a0e24c98e4851eb0e2492c91c64a1f22eaeea89805350358086cf60382f3cb1