[INFO] fetching crate struct2map 0.1.6... [INFO] testing struct2map-0.1.6 against 1.85.0 for beta-1.86-1 [INFO] extracting crate struct2map 0.1.6 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate struct2map 0.1.6 on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate struct2map 0.1.6 [INFO] finished tweaking crates.io crate struct2map 0.1.6 [INFO] tweaked toml for crates.io crate struct2map 0.1.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded struct2map-derive v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8162c61c61f70aca383c7e8ed551cfef43465382f3c5be6c052140954d5cb90d [INFO] running `Command { std: "docker" "start" "-a" "8162c61c61f70aca383c7e8ed551cfef43465382f3c5be6c052140954d5cb90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8162c61c61f70aca383c7e8ed551cfef43465382f3c5be6c052140954d5cb90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8162c61c61f70aca383c7e8ed551cfef43465382f3c5be6c052140954d5cb90d", kill_on_drop: false }` [INFO] [stdout] 8162c61c61f70aca383c7e8ed551cfef43465382f3c5be6c052140954d5cb90d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e9e94f859dc540bdc591bc55c591e3ace70ed567e58a61f256a6f417d4aea54 [INFO] running `Command { std: "docker" "start" "-a" "2e9e94f859dc540bdc591bc55c591e3ace70ed567e58a61f256a6f417d4aea54", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling struct2map-derive v0.1.6 [INFO] [stderr] Compiling struct2map v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.52s [INFO] running `Command { std: "docker" "inspect" "2e9e94f859dc540bdc591bc55c591e3ace70ed567e58a61f256a6f417d4aea54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9e94f859dc540bdc591bc55c591e3ace70ed567e58a61f256a6f417d4aea54", kill_on_drop: false }` [INFO] [stdout] 2e9e94f859dc540bdc591bc55c591e3ace70ed567e58a61f256a6f417d4aea54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19c9c6f5d920f96730168faea5349e2c15c037948103463fae8a159247689825 [INFO] running `Command { std: "docker" "start" "-a" "19c9c6f5d920f96730168faea5349e2c15c037948103463fae8a159247689825", kill_on_drop: false }` [INFO] [stderr] Compiling struct2map v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `structmap` [INFO] [stdout] --> tests/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structmap::{FromMap, ToMap}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structmap` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use struct2map::{FromMap, ToMap}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structmap_derive` [INFO] [stdout] --> tests/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structmap_derive::{FromMap, ToMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `structmap_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use struct2map_derive::{FromMap, ToMap}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rename` in this scope [INFO] [stdout] --> tests/test.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[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:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[rename(name = "Data")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericMap` [INFO] [stdout] --> tests/test.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let mut hm = GenericMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use struct2map::GenericMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/test.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | hm.insert(String::from("name"), Value::new("example")); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use struct2map::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:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | hm.insert(String::from("value"), Value::new(0i64)); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use struct2map::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StringMap` in this scope [INFO] [stdout] --> tests/test.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let hm: StringMap = TestStruct::to_stringmap(test_struct); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 52 | let hm: String = TestStruct::to_stringmap(test_struct); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use struct2map::StringMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_genericmap` found for struct `TestStruct` in the current scope [INFO] [stdout] --> tests/test.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 7 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `from_genericmap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | let test: TestStruct = TestStruct::from_genericmap(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_genericmap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `struct2map::FromMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_stringmap` found for struct `TestStruct` in the current scope [INFO] [stdout] --> tests/test.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `to_stringmap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | let hm: StringMap = TestStruct::to_stringmap(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_stringmap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `struct2map::ToMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_genericmap` found for struct `TestStruct` in the current scope [INFO] [stdout] --> tests/test.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `to_genericmap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | let hm = TestStruct::to_genericmap(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_genericmap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `struct2map::ToMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `to_stringmap` found for struct `TestStructRename` in the current scope [INFO] [stdout] --> tests/test.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 70 | struct TestStructRename { [INFO] [stdout] | ----------------------- function or associated item `to_stringmap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 94 | let hm = TestStructRename::to_stringmap(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_stringmap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `struct2map::ToMap` [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 `struct2map` (test "test") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "19c9c6f5d920f96730168faea5349e2c15c037948103463fae8a159247689825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c9c6f5d920f96730168faea5349e2c15c037948103463fae8a159247689825", kill_on_drop: false }` [INFO] [stdout] 19c9c6f5d920f96730168faea5349e2c15c037948103463fae8a159247689825