[INFO] fetching crate powerset-enum 0.1.0... [INFO] checking powerset-enum-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate powerset-enum 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate powerset-enum 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded powerset-enum-attr v0.1.0 [INFO] [stderr] Downloaded powerset-enum-traits v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9655e166050248eb37221de0c2a742314c122a78a8b3485455ee1492a98c0fdf [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" "9655e166050248eb37221de0c2a742314c122a78a8b3485455ee1492a98c0fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9655e166050248eb37221de0c2a742314c122a78a8b3485455ee1492a98c0fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9655e166050248eb37221de0c2a742314c122a78a8b3485455ee1492a98c0fdf", kill_on_drop: false }` [INFO] [stdout] 9655e166050248eb37221de0c2a742314c122a78a8b3485455ee1492a98c0fdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ab0d98a6b71e4fcc91ab4fcc411dec7ad3bd0268af6dc7ea3336ef3879dc155 [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" "4ab0d98a6b71e4fcc91ab4fcc411dec7ad3bd0268af6dc7ea3336ef3879dc155", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [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[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/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: 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] 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" "4ab0d98a6b71e4fcc91ab4fcc411dec7ad3bd0268af6dc7ea3336ef3879dc155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab0d98a6b71e4fcc91ab4fcc411dec7ad3bd0268af6dc7ea3336ef3879dc155", kill_on_drop: false }` [INFO] [stdout] 4ab0d98a6b71e4fcc91ab4fcc411dec7ad3bd0268af6dc7ea3336ef3879dc155