[INFO] fetching crate sea-strum 0.23.0... [INFO] testing sea-strum-0.23.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sea-strum 0.23.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate sea-strum 0.23.0 [INFO] finished tweaking crates.io crate sea-strum 0.23.0 [INFO] tweaked toml for crates.io crate sea-strum 0.23.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sea-strum 0.23.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sea-strum_macros v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92e303a0f249756aecca4bf8c6b6cae7425c9aeec0db79682cd071e445243223 [INFO] running `Command { std: "docker" "start" "-a" "92e303a0f249756aecca4bf8c6b6cae7425c9aeec0db79682cd071e445243223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92e303a0f249756aecca4bf8c6b6cae7425c9aeec0db79682cd071e445243223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e303a0f249756aecca4bf8c6b6cae7425c9aeec0db79682cd071e445243223", kill_on_drop: false }` [INFO] [stdout] 92e303a0f249756aecca4bf8c6b6cae7425c9aeec0db79682cd071e445243223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12b3dbce3970d6aba34e0bb74d7f3e3032dff572d6383ab6e4475a19817025bf [INFO] running `Command { std: "docker" "start" "-a" "12b3dbce3970d6aba34e0bb74d7f3e3032dff572d6383ab6e4475a19817025bf", kill_on_drop: false }` [INFO] [stderr] Compiling sea-strum v0.23.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "12b3dbce3970d6aba34e0bb74d7f3e3032dff572d6383ab6e4475a19817025bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b3dbce3970d6aba34e0bb74d7f3e3032dff572d6383ab6e4475a19817025bf", kill_on_drop: false }` [INFO] [stdout] 12b3dbce3970d6aba34e0bb74d7f3e3032dff572d6383ab6e4475a19817025bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24ac8889d38f3577ff49ef35ca56fdfdfc49edf2cfd3b63836f55554b322240f [INFO] running `Command { std: "docker" "start" "-a" "24ac8889d38f3577ff49ef35ca56fdfdfc49edf2cfd3b63836f55554b322240f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling sea-strum v0.23.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.53s [INFO] running `Command { std: "docker" "inspect" "24ac8889d38f3577ff49ef35ca56fdfdfc49edf2cfd3b63836f55554b322240f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ac8889d38f3577ff49ef35ca56fdfdfc49edf2cfd3b63836f55554b322240f", kill_on_drop: false }` [INFO] [stdout] 24ac8889d38f3577ff49ef35ca56fdfdfc49edf2cfd3b63836f55554b322240f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07ebcad72f481d46b4df190640556afda67c21eaa6455c04cc2c69d746392002 [INFO] running `Command { std: "docker" "start" "-a" "07ebcad72f481d46b4df190640556afda67c21eaa6455c04cc2c69d746392002", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strum-2e0a30e7c1f33afa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests strum [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/additional_attributes.rs - additional_attributes (line 69) ... ignored [INFO] [stdout] test src/lib.rs - EnumProperty (line 137) ... FAILED [INFO] [stdout] test src/lib.rs - EnumMessage (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - IntoEnumIterator (line 68) ... FAILED [INFO] [stdout] test src/additional_attributes.rs - additional_attributes (line 21) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - EnumProperty (line 137) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumProperty` in this scope [INFO] [stdout] --> src/lib.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(PartialEq, Eq, Debug, EnumProperty)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EnumProperty` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 7 | use strum::EnumProperty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use strum_macros::EnumProperty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `strum` in this scope [INFO] [stdout] --> src/lib.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[strum(props(Teacher="Ms.Frizzle", Room="201"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `strum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#strum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `strum` in this scope [INFO] [stdout] --> src/lib.rs:147:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[strum(props(Teacher="Mr.Smith"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `strum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#strum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `strum` in this scope [INFO] [stdout] --> src/lib.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[strum(props(Room="103"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `strum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#strum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `strum` in this scope [INFO] [stdout] --> src/lib.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[strum(props(Time="2:30"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `strum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#strum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_str` found for enum `Class` in the current scope [INFO] [stdout] --> src/lib.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 10 | enum Class { [INFO] [stdout] | ---------- method `get_str` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!("Ms.Frizzle", history.get_str("Teacher").unwrap()); [INFO] [stdout] | ^^^^^^^ method not found in `Class` [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 `get_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `EnumProperty` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - EnumMessage (line 106) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumMessage` in this scope [INFO] [stdout] --> src/lib.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(PartialEq, Eq, Debug, EnumMessage)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EnumMessage` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 7 | use strum::EnumMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use strum_macros::EnumMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `strum` in this scope [INFO] [stdout] --> src/lib.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[strum(message="I have a dog")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `strum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#strum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `strum` in this scope [INFO] [stdout] --> src/lib.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[strum(detailed_message="My dog's name is Spots")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `strum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#strum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `strum` in this scope [INFO] [stdout] --> src/lib.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[strum(message="I don't have a cat")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `strum` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#strum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_message` found for enum `Pet` in the current scope [INFO] [stdout] --> src/lib.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 10 | enum Pet { [INFO] [stdout] | -------- method `get_message` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!("I have a dog", my_pet.get_message().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Pet` [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 `get_message`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `EnumMessage` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - IntoEnumIterator (line 68) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum::EnumIter` [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 7 | use strum::{EnumIter, IntoEnumIterator}; [INFO] [stdout] | ^^^^^^^^ no `EnumIter` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 210 | / DocumentMacroRexports! { [INFO] [stdout] 211 | | AsRefStr, [INFO] [stdout] 212 | | AsStaticStr, [INFO] [stdout] 213 | | Display, [INFO] [stdout] ... | [INFO] [stdout] 216 | | EnumIter, [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 223 | | ToString [INFO] [stdout] 224 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Color: IntoEnumIterator` is not satisfied [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 28 | generic_iterator::(|color| println!("{:?}", color)); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `IntoEnumIterator` is not implemented for `Color` [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Color { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `generic_iterator` [INFO] [stdout] --> src/lib.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn generic_iterator(pred: F) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 19 | where [INFO] [stdout] 20 | E: IntoEnumIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `generic_iterator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - EnumMessage (line 106) [INFO] [stdout] src/lib.rs - EnumProperty (line 137) [INFO] [stdout] src/lib.rs - IntoEnumIterator (line 68) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "07ebcad72f481d46b4df190640556afda67c21eaa6455c04cc2c69d746392002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ebcad72f481d46b4df190640556afda67c21eaa6455c04cc2c69d746392002", kill_on_drop: false }` [INFO] [stdout] 07ebcad72f481d46b4df190640556afda67c21eaa6455c04cc2c69d746392002