[INFO] fetching crate struct2map 0.1.6... [INFO] testing struct2map-0.1.6 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate struct2map 0.1.6 into /workspace/builds/worker-0-tc2/source [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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate struct2map 0.1.6 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3efb5d49059703bf8a3bed4141f8b3ac401258e96f16c84ab9cd03a0b67fe61 [INFO] running `Command { std: "docker" "start" "-a" "e3efb5d49059703bf8a3bed4141f8b3ac401258e96f16c84ab9cd03a0b67fe61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3efb5d49059703bf8a3bed4141f8b3ac401258e96f16c84ab9cd03a0b67fe61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3efb5d49059703bf8a3bed4141f8b3ac401258e96f16c84ab9cd03a0b67fe61", kill_on_drop: false }` [INFO] [stdout] e3efb5d49059703bf8a3bed4141f8b3ac401258e96f16c84ab9cd03a0b67fe61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cf3105dd84e6d2d7ac4552f31578993d6d0f7597f9e93997c35465b894a41fa [INFO] running `Command { std: "docker" "start" "-a" "1cf3105dd84e6d2d7ac4552f31578993d6d0f7597f9e93997c35465b894a41fa", kill_on_drop: false }` [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 0.70s [INFO] running `Command { std: "docker" "inspect" "1cf3105dd84e6d2d7ac4552f31578993d6d0f7597f9e93997c35465b894a41fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf3105dd84e6d2d7ac4552f31578993d6d0f7597f9e93997c35465b894a41fa", kill_on_drop: false }` [INFO] [stdout] 1cf3105dd84e6d2d7ac4552f31578993d6d0f7597f9e93997c35465b894a41fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f503f2dee0ac0b309c6b54c70660c7d9e0538bd11d6d53ab1a240b9df4f47ed [INFO] running `Command { std: "docker" "start" "-a" "6f503f2dee0ac0b309c6b54c70660c7d9e0538bd11d6d53ab1a240b9df4f47ed", 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `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] = note: `rename` is an attribute that can be used by the derive macro `ToMap`, you might be missing a `derive` attribute [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] = note: `rename` is an attribute that can be used by the derive macro `ToMap`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `GenericMap` in this scope [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]: cannot find type `Value` in this scope [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]: cannot find type `Value` in this scope [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[E0425]: 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] | [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 52 - let hm: StringMap = TestStruct::to_stringmap(test_struct); [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: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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" "6f503f2dee0ac0b309c6b54c70660c7d9e0538bd11d6d53ab1a240b9df4f47ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f503f2dee0ac0b309c6b54c70660c7d9e0538bd11d6d53ab1a240b9df4f47ed", kill_on_drop: false }` [INFO] [stdout] 6f503f2dee0ac0b309c6b54c70660c7d9e0538bd11d6d53ab1a240b9df4f47ed