[INFO] fetching crate srtemplate_helper_macros 0.1.1... [INFO] testing srtemplate_helper_macros-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate srtemplate_helper_macros 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate srtemplate_helper_macros 0.1.1 [INFO] finished tweaking crates.io crate srtemplate_helper_macros 0.1.1 [INFO] tweaked toml for crates.io crate srtemplate_helper_macros 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate srtemplate_helper_macros 0.1.1 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] crate crates.io crate srtemplate_helper_macros 0.1.1 already has a lockfile, it will not be regenerated [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-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a604099db75a1d481fa07607ea5b7eb517c60aa566b34365e2fc1cdeb47e173 [INFO] running `Command { std: "docker" "start" "-a" "1a604099db75a1d481fa07607ea5b7eb517c60aa566b34365e2fc1cdeb47e173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a604099db75a1d481fa07607ea5b7eb517c60aa566b34365e2fc1cdeb47e173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a604099db75a1d481fa07607ea5b7eb517c60aa566b34365e2fc1cdeb47e173", kill_on_drop: false }` [INFO] [stdout] 1a604099db75a1d481fa07607ea5b7eb517c60aa566b34365e2fc1cdeb47e173 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eb189f6dbfb4013262110f297b26fefd3c7288c7a2f3661a4073b6885561c47 [INFO] running `Command { std: "docker" "start" "-a" "1eb189f6dbfb4013262110f297b26fefd3c7288c7a2f3661a4073b6885561c47", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling venial v0.6.0 [INFO] [stderr] Compiling srtemplate_helper_macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "1eb189f6dbfb4013262110f297b26fefd3c7288c7a2f3661a4073b6885561c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb189f6dbfb4013262110f297b26fefd3c7288c7a2f3661a4073b6885561c47", kill_on_drop: false }` [INFO] [stdout] 1eb189f6dbfb4013262110f297b26fefd3c7288c7a2f3661a4073b6885561c47 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa746c6f83ca561cb060e8603bc5bcd3d51b1b1767aad7ff94e3891ef3cb24b6 [INFO] running `Command { std: "docker" "start" "-a" "fa746c6f83ca561cb060e8603bc5bcd3d51b1b1767aad7ff94e3891ef3cb24b6", kill_on_drop: false }` [INFO] [stderr] Compiling srtemplate_helper_macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/lib.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | assert_eq!("lowercase".parse::(), Ok(TextCase::Lower)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `TextCase` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) enum TextCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TextCase` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 355 + #[derive(PartialEq)] [INFO] [stdout] 356 | pub(crate) enum TextCase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/lib.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!("UPPERCASE".parse::(), Ok(TextCase::Upper)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `TextCase` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) enum TextCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TextCase` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 355 + #[derive(PartialEq)] [INFO] [stdout] 356 | pub(crate) enum TextCase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/lib.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!("snake_case".parse::(), Ok(TextCase::Snake)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `TextCase` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) enum TextCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TextCase` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 355 + #[derive(PartialEq)] [INFO] [stdout] 356 | pub(crate) enum TextCase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/lib.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | assert_eq!("camelCase".parse::(), Ok(TextCase::Camel)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `TextCase` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) enum TextCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TextCase` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 355 + #[derive(PartialEq)] [INFO] [stdout] 356 | pub(crate) enum TextCase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/lib.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | assert_eq!("PascalCase".parse::(), Ok(TextCase::Pascal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `TextCase` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) enum TextCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TextCase` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 355 + #[derive(PartialEq)] [INFO] [stdout] 356 | pub(crate) enum TextCase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/lib.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!("kebab-case".parse::(), Ok(TextCase::Kebab)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `TextCase` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) enum TextCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TextCase` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 355 + #[derive(PartialEq)] [INFO] [stdout] 356 | pub(crate) enum TextCase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result` [INFO] [stdout] --> src/lib.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | / assert_eq!( [INFO] [stdout] 515 | | "SCREAMING_SNAKE".parse::(), [INFO] [stdout] 516 | | Ok(TextCase::ScreamingSnake) [INFO] [stdout] 517 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________Result [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `TextCase` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) enum TextCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TextCase` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 355 + #[derive(PartialEq)] [INFO] [stdout] 356 | pub(crate) enum TextCase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srtemplate_helper_macros` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fa746c6f83ca561cb060e8603bc5bcd3d51b1b1767aad7ff94e3891ef3cb24b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa746c6f83ca561cb060e8603bc5bcd3d51b1b1767aad7ff94e3891ef3cb24b6", kill_on_drop: false }` [INFO] [stdout] fa746c6f83ca561cb060e8603bc5bcd3d51b1b1767aad7ff94e3891ef3cb24b6