[INFO] fetching crate configurs 0.1.1... [INFO] checking configurs-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate configurs 0.1.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate configurs 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f39b0fcf7eb3166905b9aa64132e8004e923f585b066c38c2880f7be458154 [INFO] running `Command { std: "docker" "start" "-a" "14f39b0fcf7eb3166905b9aa64132e8004e923f585b066c38c2880f7be458154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f39b0fcf7eb3166905b9aa64132e8004e923f585b066c38c2880f7be458154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f39b0fcf7eb3166905b9aa64132e8004e923f585b066c38c2880f7be458154", kill_on_drop: false }` [INFO] [stdout] 14f39b0fcf7eb3166905b9aa64132e8004e923f585b066c38c2880f7be458154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e462828b378bef747935e0a4b333689177a2969e41bbcc646a49c9d521d096bb [INFO] running `Command { std: "docker" "start" "-a" "e462828b378bef747935e0a4b333689177a2969e41bbcc646a49c9d521d096bb", 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] Checking smallvec v1.15.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [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" "e462828b378bef747935e0a4b333689177a2969e41bbcc646a49c9d521d096bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e462828b378bef747935e0a4b333689177a2969e41bbcc646a49c9d521d096bb", kill_on_drop: false }` [INFO] [stdout] e462828b378bef747935e0a4b333689177a2969e41bbcc646a49c9d521d096bb