[INFO] fetching crate sea-strum 0.23.0... [INFO] testing sea-strum-0.23.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sea-strum 0.23.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sea-strum 0.23.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34ebd34444fca044dce3a0c58f382af314078fd5c2d353c4c35e6826f6607238 [INFO] running `Command { std: "docker" "start" "-a" "34ebd34444fca044dce3a0c58f382af314078fd5c2d353c4c35e6826f6607238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34ebd34444fca044dce3a0c58f382af314078fd5c2d353c4c35e6826f6607238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ebd34444fca044dce3a0c58f382af314078fd5c2d353c4c35e6826f6607238", kill_on_drop: false }` [INFO] [stdout] 34ebd34444fca044dce3a0c58f382af314078fd5c2d353c4c35e6826f6607238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7615acbcebbd86d56c3e418bd03ff136e04345efd2b180d8f19e2d43a8af0842 [INFO] running `Command { std: "docker" "start" "-a" "7615acbcebbd86d56c3e418bd03ff136e04345efd2b180d8f19e2d43a8af0842", 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.13s [INFO] running `Command { std: "docker" "inspect" "7615acbcebbd86d56c3e418bd03ff136e04345efd2b180d8f19e2d43a8af0842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7615acbcebbd86d56c3e418bd03ff136e04345efd2b180d8f19e2d43a8af0842", kill_on_drop: false }` [INFO] [stdout] 7615acbcebbd86d56c3e418bd03ff136e04345efd2b180d8f19e2d43a8af0842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e98929bfc94e42da6276e98560a6f5fb93736eee7fe396d8defbedd6f1f83f8 [INFO] running `Command { std: "docker" "start" "-a" "6e98929bfc94e42da6276e98560a6f5fb93736eee7fe396d8defbedd6f1f83f8", 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.34s [INFO] running `Command { std: "docker" "inspect" "6e98929bfc94e42da6276e98560a6f5fb93736eee7fe396d8defbedd6f1f83f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e98929bfc94e42da6276e98560a6f5fb93736eee7fe396d8defbedd6f1f83f8", kill_on_drop: false }` [INFO] [stdout] 6e98929bfc94e42da6276e98560a6f5fb93736eee7fe396d8defbedd6f1f83f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 388360f12d669686cf8f1ee1cd9e54fa68359840370af8bd30886a38462b2905 [INFO] running `Command { std: "docker" "start" "-a" "388360f12d669686cf8f1ee1cd9e54fa68359840370af8bd30886a38462b2905", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strum-2e0a30e7c1f33afa) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests strum [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 - EnumProperty (line 137) ... FAILED [INFO] [stdout] test src/lib.rs - IntoEnumIterator (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - EnumMessage (line 106) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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 - 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] ---- 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] [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.69s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "388360f12d669686cf8f1ee1cd9e54fa68359840370af8bd30886a38462b2905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "388360f12d669686cf8f1ee1cd9e54fa68359840370af8bd30886a38462b2905", kill_on_drop: false }` [INFO] [stdout] 388360f12d669686cf8f1ee1cd9e54fa68359840370af8bd30886a38462b2905