[INFO] fetching crate powerset-enum 0.1.0... [INFO] checking powerset-enum-0.1.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate powerset-enum 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate powerset-enum 0.1.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate powerset-enum 0.1.0 [INFO] finished tweaking crates.io crate powerset-enum 0.1.0 [INFO] tweaked toml for crates.io crate powerset-enum 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4fc92b91ebcfc3d90bdb5ca5c4516ee658a62c55298b0ba6e486f63e3c23e2e7 [INFO] running `Command { std: "docker" "start" "-a" "4fc92b91ebcfc3d90bdb5ca5c4516ee658a62c55298b0ba6e486f63e3c23e2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fc92b91ebcfc3d90bdb5ca5c4516ee658a62c55298b0ba6e486f63e3c23e2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc92b91ebcfc3d90bdb5ca5c4516ee658a62c55298b0ba6e486f63e3c23e2e7", kill_on_drop: false }` [INFO] [stdout] 4fc92b91ebcfc3d90bdb5ca5c4516ee658a62c55298b0ba6e486f63e3c23e2e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90154cd2e2421792cb2a303ad419bd129d536446effefee3000da953bbef8754 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "90154cd2e2421792cb2a303ad419bd129d536446effefee3000da953bbef8754", kill_on_drop: false }` [INFO] [stderr] Checking powerset-enum-traits v0.1.0 [INFO] [stderr] Compiling powerset-enum-attr v0.1.0 [INFO] [stderr] Checking powerset-enum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> examples/with_powerset_enums.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `err_derive` [INFO] [stdout] --> examples/with_powerset_enums.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `err_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> examples/with_powerset_enums.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[error(display = "field is out of range")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> examples/with_powerset_enums.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/with_powerset_enums.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | JsonError(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> examples/without_powerset_enums.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `err_derive` [INFO] [stdout] --> examples/without_powerset_enums.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `err_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `err_derive` [INFO] [stdout] --> examples/without_powerset_enums.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `err_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> examples/without_powerset_enums.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[error(display = "field is out of range")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> examples/without_powerset_enums.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[error(display = "{}", _0)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> examples/without_powerset_enums.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[error(display = "{}", _0)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> examples/without_powerset_enums.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[error(display = "{}", _0)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> examples/without_powerset_enums.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/without_powerset_enums.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | JsonError(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/with_powerset_enums.rs:29:76 [INFO] [stdout] | [INFO] [stdout] 29 | fn load_data_file_unchecked(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/without_powerset_enums.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | serde_json::from_reader(file).map_err(Error::JsonError) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `regex` [INFO] [stdout] --> examples/without_powerset_enums.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(m) = regex::Regex::new(r"\d+").unwrap().find(&content) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> examples/without_powerset_enums.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let tempdir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/with_powerset_enums.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(serde_json::from_reader(file)?) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/with_powerset_enums.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | fn load_data_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> examples/with_powerset_enums.rs:42:66 [INFO] [stdout] | [INFO] [stdout] 42 | fn load_data_file_or_default(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `regex` [INFO] [stdout] --> examples/with_powerset_enums.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(m) = regex::Regex::new(r"\d+").unwrap().find(&content) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> examples/with_powerset_enums.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | let tempdir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `powerset-enum` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `powerset_enum::Extract` [INFO] [stdout] --> examples/with_powerset_enums.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use powerset_enum::Extract; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "90154cd2e2421792cb2a303ad419bd129d536446effefee3000da953bbef8754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90154cd2e2421792cb2a303ad419bd129d536446effefee3000da953bbef8754", kill_on_drop: false }` [INFO] [stdout] 90154cd2e2421792cb2a303ad419bd129d536446effefee3000da953bbef8754