[INFO] fetching crate sea-strum 0.23.0... [INFO] testing sea-strum-0.23.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate sea-strum 0.23.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sea-strum 0.23.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d561d2c3fd8f52b008457e98e1b8b4e889ce1a928168433fbb719148216e527 [INFO] running `Command { std: "docker" "start" "-a" "9d561d2c3fd8f52b008457e98e1b8b4e889ce1a928168433fbb719148216e527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d561d2c3fd8f52b008457e98e1b8b4e889ce1a928168433fbb719148216e527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d561d2c3fd8f52b008457e98e1b8b4e889ce1a928168433fbb719148216e527", kill_on_drop: false }` [INFO] [stdout] 9d561d2c3fd8f52b008457e98e1b8b4e889ce1a928168433fbb719148216e527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f90a260b264540c82326908ceb3145f73068bc8494099695438c0a8e0739c0a [INFO] running `Command { std: "docker" "start" "-a" "4f90a260b264540c82326908ceb3145f73068bc8494099695438c0a8e0739c0a", 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.20s [INFO] running `Command { std: "docker" "inspect" "4f90a260b264540c82326908ceb3145f73068bc8494099695438c0a8e0739c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f90a260b264540c82326908ceb3145f73068bc8494099695438c0a8e0739c0a", kill_on_drop: false }` [INFO] [stdout] 4f90a260b264540c82326908ceb3145f73068bc8494099695438c0a8e0739c0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 667e33a3972539b735fef30b67ceff386e43c1d482cc29e74da9dfa8e6235aaf [INFO] running `Command { std: "docker" "start" "-a" "667e33a3972539b735fef30b67ceff386e43c1d482cc29e74da9dfa8e6235aaf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [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.43s [INFO] running `Command { std: "docker" "inspect" "667e33a3972539b735fef30b67ceff386e43c1d482cc29e74da9dfa8e6235aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667e33a3972539b735fef30b67ceff386e43c1d482cc29e74da9dfa8e6235aaf", kill_on_drop: false }` [INFO] [stdout] 667e33a3972539b735fef30b67ceff386e43c1d482cc29e74da9dfa8e6235aaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d9742b5a87e810f21a80f37d1d97eacb8cd3644a5b82bcf6b5d4119dfc39797f [INFO] running `Command { std: "docker" "start" "-a" "d9742b5a87e810f21a80f37d1d97eacb8cd3644a5b82bcf6b5d4119dfc39797f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strum-2e0a30e7c1f33afa) [INFO] [stderr] Doc-tests strum [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/additional_attributes.rs - additional_attributes (line 69) ... ignored [INFO] [stdout] test src/lib.rs - IntoEnumIterator (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - EnumMessage (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - EnumProperty (line 137) ... 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 - 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] | ^^^^^ the trait `IntoEnumIterator` is not implemented for `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] ---- 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 - 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] [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" "d9742b5a87e810f21a80f37d1d97eacb8cd3644a5b82bcf6b5d4119dfc39797f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9742b5a87e810f21a80f37d1d97eacb8cd3644a5b82bcf6b5d4119dfc39797f", kill_on_drop: false }` [INFO] [stdout] d9742b5a87e810f21a80f37d1d97eacb8cd3644a5b82bcf6b5d4119dfc39797f