[INFO] fetching crate powerset-enum 0.1.0... [INFO] checking powerset-enum-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate powerset-enum 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate powerset-enum 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8b7efd97f9054118be9a7a795bba393337852d9253f2c693fa781382cdebbc5 [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" "e8b7efd97f9054118be9a7a795bba393337852d9253f2c693fa781382cdebbc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8b7efd97f9054118be9a7a795bba393337852d9253f2c693fa781382cdebbc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b7efd97f9054118be9a7a795bba393337852d9253f2c693fa781382cdebbc5", kill_on_drop: false }` [INFO] [stdout] e8b7efd97f9054118be9a7a795bba393337852d9253f2c693fa781382cdebbc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 628c70b3c822c31f728befdbed75ec5f6f16aeba67f55a12a81674645f79a4a8 [INFO] running `Command { std: "docker" "start" "-a" "628c70b3c822c31f728befdbed75ec5f6f16aeba67f55a12a81674645f79a4a8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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[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/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[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/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] 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: could not compile `powerset-enum` [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "628c70b3c822c31f728befdbed75ec5f6f16aeba67f55a12a81674645f79a4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628c70b3c822c31f728befdbed75ec5f6f16aeba67f55a12a81674645f79a4a8", kill_on_drop: false }` [INFO] [stdout] 628c70b3c822c31f728befdbed75ec5f6f16aeba67f55a12a81674645f79a4a8