[INFO] fetching crate srtemplate_helper_macros 0.1.1... [INFO] checking srtemplate_helper_macros-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate srtemplate_helper_macros 0.1.1 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate srtemplate_helper_macros 0.1.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded venial v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 295cb0ff14af97a92207e1f0acd8116eb776f256d34fa30351340dc41553a730 [INFO] running `Command { std: "docker" "start" "-a" "295cb0ff14af97a92207e1f0acd8116eb776f256d34fa30351340dc41553a730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "295cb0ff14af97a92207e1f0acd8116eb776f256d34fa30351340dc41553a730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295cb0ff14af97a92207e1f0acd8116eb776f256d34fa30351340dc41553a730", kill_on_drop: false }` [INFO] [stdout] 295cb0ff14af97a92207e1f0acd8116eb776f256d34fa30351340dc41553a730 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 019ae9f9974246502e5b3537880938388c6359684a5f7d125f00f42355839c48 [INFO] running `Command { std: "docker" "start" "-a" "019ae9f9974246502e5b3537880938388c6359684a5f7d125f00f42355839c48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking venial v0.6.0 [INFO] [stderr] Checking 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] running `Command { std: "docker" "inspect" "019ae9f9974246502e5b3537880938388c6359684a5f7d125f00f42355839c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019ae9f9974246502e5b3537880938388c6359684a5f7d125f00f42355839c48", kill_on_drop: false }` [INFO] [stdout] 019ae9f9974246502e5b3537880938388c6359684a5f7d125f00f42355839c48