[INFO] fetching crate configurs 0.1.1... [INFO] checking configurs-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate configurs 0.1.1 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate configurs 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fe753b6e78725a305f3859aad1a0daf94e30f290fb8d545f82fb13eca13c091 [INFO] running `Command { std: "docker" "start" "-a" "8fe753b6e78725a305f3859aad1a0daf94e30f290fb8d545f82fb13eca13c091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fe753b6e78725a305f3859aad1a0daf94e30f290fb8d545f82fb13eca13c091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe753b6e78725a305f3859aad1a0daf94e30f290fb8d545f82fb13eca13c091", kill_on_drop: false }` [INFO] [stdout] 8fe753b6e78725a305f3859aad1a0daf94e30f290fb8d545f82fb13eca13c091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b38bbb02bd0f665088e1555d30b795f917fd8c4d4ccb86702dee9e75c842489 [INFO] running `Command { std: "docker" "start" "-a" "8b38bbb02bd0f665088e1555d30b795f917fd8c4d4ccb86702dee9e75c842489", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking configurs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 unresolved module or unlinked crate `configurs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `configurs_derive`, use `cargo add configurs_derive` to add it to your `Cargo.toml` [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" "8b38bbb02bd0f665088e1555d30b795f917fd8c4d4ccb86702dee9e75c842489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b38bbb02bd0f665088e1555d30b795f917fd8c4d4ccb86702dee9e75c842489", kill_on_drop: false }` [INFO] [stdout] 8b38bbb02bd0f665088e1555d30b795f917fd8c4d4ccb86702dee9e75c842489