[INFO] fetching crate srtemplate_helper_macros 0.1.1... [INFO] checking srtemplate_helper_macros-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate srtemplate_helper_macros 0.1.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate srtemplate_helper_macros 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e96e0c34cc105ec9ce17c8e9a19ee935f562c78bff24fa064b21a35523e2e9cf [INFO] running `Command { std: "docker" "start" "-a" "e96e0c34cc105ec9ce17c8e9a19ee935f562c78bff24fa064b21a35523e2e9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e96e0c34cc105ec9ce17c8e9a19ee935f562c78bff24fa064b21a35523e2e9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96e0c34cc105ec9ce17c8e9a19ee935f562c78bff24fa064b21a35523e2e9cf", kill_on_drop: false }` [INFO] [stdout] e96e0c34cc105ec9ce17c8e9a19ee935f562c78bff24fa064b21a35523e2e9cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c7938a5ead2d539047b7aa3658f846c935f2c2b20e2ba876f3aaea1a31c32c0 [INFO] running `Command { std: "docker" "start" "-a" "3c7938a5ead2d539047b7aa3658f846c935f2c2b20e2ba876f3aaea1a31c32c0", 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" "3c7938a5ead2d539047b7aa3658f846c935f2c2b20e2ba876f3aaea1a31c32c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7938a5ead2d539047b7aa3658f846c935f2c2b20e2ba876f3aaea1a31c32c0", kill_on_drop: false }` [INFO] [stdout] 3c7938a5ead2d539047b7aa3658f846c935f2c2b20e2ba876f3aaea1a31c32c0