[INFO] fetching crate structmap 0.1.3... [INFO] checking structmap-0.1.3 against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] extracting crate structmap 0.1.3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate structmap 0.1.3 on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate structmap 0.1.3 [INFO] finished tweaking crates.io crate structmap 0.1.3 [INFO] tweaked toml for crates.io crate structmap 0.1.3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02cca5a0522f9e07de2db670d4b6e7a2f8160d30284f65b7469df7220ca5c6bc [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" "02cca5a0522f9e07de2db670d4b6e7a2f8160d30284f65b7469df7220ca5c6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02cca5a0522f9e07de2db670d4b6e7a2f8160d30284f65b7469df7220ca5c6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02cca5a0522f9e07de2db670d4b6e7a2f8160d30284f65b7469df7220ca5c6bc", kill_on_drop: false }` [INFO] [stdout] 02cca5a0522f9e07de2db670d4b6e7a2f8160d30284f65b7469df7220ca5c6bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d853911cea5b51d9b90feaf0748897240b5d8520e7067d37775c49a747ac03b [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" "7d853911cea5b51d9b90feaf0748897240b5d8520e7067d37775c49a747ac03b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling structmap-derive v0.1.4 [INFO] [stderr] Checking structmap v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `structmap_derive::FromHashMap`, `structmap_derive::ToHashMap` [INFO] [stdout] --> tests/test.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use structmap_derive::{FromHashMap, ToHashMap}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ no `ToHashMap` in the root [INFO] [stdout] | | [INFO] [stdout] | no `FromHashMap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromHashMap` [INFO] [stdout] --> tests/test.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromHashMap, ToHashMap)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ToHashMap` [INFO] [stdout] --> tests/test.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromHashMap, ToHashMap)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ToHashMap` [INFO] [stdout] --> tests/test.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(ToHashMap)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rename` in this scope [INFO] [stdout] --> tests/test.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[rename(name = "Full Name")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rename` in this scope [INFO] [stdout] --> tests/test.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[rename(name = "Data")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/test.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let mut hm: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use structmap::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/test.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | hm.insert(String::from("name"), Value::new("example")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use structmap::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/test.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | hm.insert(String::from("value"), Value::new(0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use structmap::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/test.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let hm: HashMap = TestStruct::to_hashmap(test_struct); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use structmap::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/test.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let hm: HashMap = TestStructRename::to_hashmap(test_struct); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use structmap::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_hashmap` found for struct `TestStruct` in the current scope [INFO] [stdout] --> tests/test.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `from_hashmap` not found for this [INFO] [stdout] ... [INFO] [stdout] 32 | let test: TestStruct = TestStruct::from_hashmap(hm); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `TestStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_hashmap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromHashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_hashmap` found for struct `TestStruct` in the current scope [INFO] [stdout] --> tests/test.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 10 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `to_hashmap` not found for this [INFO] [stdout] ... [INFO] [stdout] 45 | let hm: HashMap = TestStruct::to_hashmap(test_struct); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `TestStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_hashmap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToHashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_hashmap` found for struct `TestStructRename` in the current scope [INFO] [stdout] --> tests/test.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 51 | struct TestStructRename { [INFO] [stdout] | ----------------------- function or associated item `to_hashmap` not found for this [INFO] [stdout] ... [INFO] [stdout] 75 | let hm: HashMap = TestStructRename::to_hashmap(test_struct); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `TestStructRename` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_hashmap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToHashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromHashMap` [INFO] [stdout] --> tests/test.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use structmap::{FromHashMap, ToHashMap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToHashMap` [INFO] [stdout] --> tests/test.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use structmap::{FromHashMap, ToHashMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `structmap` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7d853911cea5b51d9b90feaf0748897240b5d8520e7067d37775c49a747ac03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d853911cea5b51d9b90feaf0748897240b5d8520e7067d37775c49a747ac03b", kill_on_drop: false }` [INFO] [stdout] 7d853911cea5b51d9b90feaf0748897240b5d8520e7067d37775c49a747ac03b