[INFO] fetching crate srtemplate_helper_macros 0.1.1... [INFO] testing srtemplate_helper_macros-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate srtemplate_helper_macros 0.1.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate srtemplate_helper_macros 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef1af78c1e23c947dc5d071f2ac000942ad0e598d8b18f4c5c892f406bd75a1d [INFO] running `Command { std: "docker" "start" "-a" "ef1af78c1e23c947dc5d071f2ac000942ad0e598d8b18f4c5c892f406bd75a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef1af78c1e23c947dc5d071f2ac000942ad0e598d8b18f4c5c892f406bd75a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef1af78c1e23c947dc5d071f2ac000942ad0e598d8b18f4c5c892f406bd75a1d", kill_on_drop: false }` [INFO] [stdout] ef1af78c1e23c947dc5d071f2ac000942ad0e598d8b18f4c5c892f406bd75a1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24ff1a7042232d6a91c8eec78275e0e5e72e3cbcb611edcfe37a46d19bda1d86 [INFO] running `Command { std: "docker" "start" "-a" "24ff1a7042232d6a91c8eec78275e0e5e72e3cbcb611edcfe37a46d19bda1d86", 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.67s [INFO] running `Command { std: "docker" "inspect" "24ff1a7042232d6a91c8eec78275e0e5e72e3cbcb611edcfe37a46d19bda1d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ff1a7042232d6a91c8eec78275e0e5e72e3cbcb611edcfe37a46d19bda1d86", kill_on_drop: false }` [INFO] [stdout] 24ff1a7042232d6a91c8eec78275e0e5e72e3cbcb611edcfe37a46d19bda1d86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 134b06a06459d1879b39839bb620564eddffa4573615a6234caa6c266f007703 [INFO] running `Command { std: "docker" "start" "-a" "134b06a06459d1879b39839bb620564eddffa4573615a6234caa6c266f007703", 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" "134b06a06459d1879b39839bb620564eddffa4573615a6234caa6c266f007703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134b06a06459d1879b39839bb620564eddffa4573615a6234caa6c266f007703", kill_on_drop: false }` [INFO] [stdout] 134b06a06459d1879b39839bb620564eddffa4573615a6234caa6c266f007703