[INFO] fetching crate srtemplate_helper_macros 0.1.1... [INFO] testing srtemplate_helper_macros-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate srtemplate_helper_macros 0.1.1 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate srtemplate_helper_macros 0.1.1 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] 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a1567b1620791acbf38f016f39fed96b07f9ddd68567005a0f3ff2c6ca0a4f47 [INFO] running `Command { std: "docker" "start" "-a" "a1567b1620791acbf38f016f39fed96b07f9ddd68567005a0f3ff2c6ca0a4f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1567b1620791acbf38f016f39fed96b07f9ddd68567005a0f3ff2c6ca0a4f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1567b1620791acbf38f016f39fed96b07f9ddd68567005a0f3ff2c6ca0a4f47", kill_on_drop: false }` [INFO] [stdout] a1567b1620791acbf38f016f39fed96b07f9ddd68567005a0f3ff2c6ca0a4f47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c67b4fe95629794348de2447dea74a84ee9ef80d4d5acf35075ec5299fc039a3 [INFO] running `Command { std: "docker" "start" "-a" "c67b4fe95629794348de2447dea74a84ee9ef80d4d5acf35075ec5299fc039a3", 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 1.95s [INFO] running `Command { std: "docker" "inspect" "c67b4fe95629794348de2447dea74a84ee9ef80d4d5acf35075ec5299fc039a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67b4fe95629794348de2447dea74a84ee9ef80d4d5acf35075ec5299fc039a3", kill_on_drop: false }` [INFO] [stdout] c67b4fe95629794348de2447dea74a84ee9ef80d4d5acf35075ec5299fc039a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cc2c65bcea76cfbc245825bfc47bf05daf5e23a3269b34739e85b3fdd06aea67 [INFO] running `Command { std: "docker" "start" "-a" "cc2c65bcea76cfbc245825bfc47bf05daf5e23a3269b34739e85b3fdd06aea67", 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" "cc2c65bcea76cfbc245825bfc47bf05daf5e23a3269b34739e85b3fdd06aea67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2c65bcea76cfbc245825bfc47bf05daf5e23a3269b34739e85b3fdd06aea67", kill_on_drop: false }` [INFO] [stdout] cc2c65bcea76cfbc245825bfc47bf05daf5e23a3269b34739e85b3fdd06aea67