[INFO] fetching crate enumnvictorhowisers 0.1.13... [INFO] checking enumnvictorhowisers-0.1.13 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate enumnvictorhowisers 0.1.13 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate enumnvictorhowisers 0.1.13 [INFO] finished tweaking crates.io crate enumnvictorhowisers 0.1.13 [INFO] tweaked toml for crates.io crate enumnvictorhowisers 0.1.13 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate enumnvictorhowisers 0.1.13 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bdaa80416b41a0dfcc907342b7fb8f403e67b0a930fd4b90f25b94be8b860e9 [INFO] running `Command { std: "docker" "start" "-a" "3bdaa80416b41a0dfcc907342b7fb8f403e67b0a930fd4b90f25b94be8b860e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bdaa80416b41a0dfcc907342b7fb8f403e67b0a930fd4b90f25b94be8b860e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bdaa80416b41a0dfcc907342b7fb8f403e67b0a930fd4b90f25b94be8b860e9", kill_on_drop: false }` [INFO] [stdout] 3bdaa80416b41a0dfcc907342b7fb8f403e67b0a930fd4b90f25b94be8b860e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ca31fbcf5a758ede53d7ab3cc43903480dcc92c9303b1c4d47cd7399c991e9 [INFO] running `Command { std: "docker" "start" "-a" "c1ca31fbcf5a758ede53d7ab3cc43903480dcc92c9303b1c4d47cd7399c991e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking enumnvictorhowisers v0.1.13 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `enumn` [INFO] [stdout] --> tests/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use enumn::N; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `enumn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `enumn`, use `cargo add enumn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EmptyEnum` in the current scope [INFO] [stdout] --> tests/test.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 4 | enum EmptyEnum {} [INFO] [stdout] | -------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(EmptyEnum::n(0), None); [INFO] [stdout] | ^ variant or associated item not found in `EmptyEnum` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(EmptyEnum::ne(0), None); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EmptyEnum` in the current scope [INFO] [stdout] --> tests/test.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 4 | enum EmptyEnum {} [INFO] [stdout] | -------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(EmptyEnum::n(1), None); [INFO] [stdout] | ^ variant or associated item not found in `EmptyEnum` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(EmptyEnum::ne(1), None); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EmptyEnum` in the current scope [INFO] [stdout] --> tests/test.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 4 | enum EmptyEnum {} [INFO] [stdout] | -------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 10 | assert_eq!(EmptyEnum::n(-1), None); [INFO] [stdout] | ^ variant or associated item not found in `EmptyEnum` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(EmptyEnum::ne(-1), None); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/test.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 14 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(SimpleEnum::n(0), Some(SimpleEnum::Case0)); [INFO] [stdout] | ^ variant or associated item not found in `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(SimpleEnum::ne(0), Some(SimpleEnum::Case0)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/test.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 14 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 22 | assert_eq!(SimpleEnum::n(1), Some(SimpleEnum::Case1)); [INFO] [stdout] | ^ variant or associated item not found in `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(SimpleEnum::ne(1), Some(SimpleEnum::Case1)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/test.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 14 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 23 | assert_eq!(SimpleEnum::n(4), None); [INFO] [stdout] | ^ variant or associated item not found in `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(SimpleEnum::ne(4), None); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/test.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 14 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(SimpleEnum::n(-1), None); [INFO] [stdout] | ^ variant or associated item not found in `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(SimpleEnum::ne(-1), None); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EnumWithRepr` in the current scope [INFO] [stdout] --> tests/test.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 29 | enum EnumWithRepr { [INFO] [stdout] | ----------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 35 | assert_eq!(EnumWithRepr::n(0), Some(EnumWithRepr::Case0)); [INFO] [stdout] | ^ variant or associated item not found in `EnumWithRepr` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(EnumWithRepr::ne(0), Some(EnumWithRepr::Case0)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EnumWithRepr` in the current scope [INFO] [stdout] --> tests/test.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 29 | enum EnumWithRepr { [INFO] [stdout] | ----------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(EnumWithRepr::n(255), None); [INFO] [stdout] | ^ variant or associated item not found in `EnumWithRepr` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(EnumWithRepr::ne(255), None); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EnumWithDiscriminant` in the current scope [INFO] [stdout] --> tests/test.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 40 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 48 | assert_eq!(EnumWithDiscriminant::n(10), Some(EnumWithDiscriminant::A)); [INFO] [stdout] | ^ variant or associated item not found in `EnumWithDiscriminant` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 48 - assert_eq!(EnumWithDiscriminant::n(10), Some(EnumWithDiscriminant::A)); [INFO] [stdout] 48 + assert_eq!(EnumWithDiscriminant::A, Some(EnumWithDiscriminant::A)); [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(EnumWithDiscriminant::ne(10), Some(EnumWithDiscriminant::A)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EnumWithDiscriminant` in the current scope [INFO] [stdout] --> tests/test.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 40 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | assert_eq!(EnumWithDiscriminant::n(11), Some(EnumWithDiscriminant::B)); [INFO] [stdout] | ^ variant or associated item not found in `EnumWithDiscriminant` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 49 - assert_eq!(EnumWithDiscriminant::n(11), Some(EnumWithDiscriminant::B)); [INFO] [stdout] 49 + assert_eq!(EnumWithDiscriminant::A, Some(EnumWithDiscriminant::B)); [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(EnumWithDiscriminant::ne(11), Some(EnumWithDiscriminant::B)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EnumWithDiscriminant` in the current scope [INFO] [stdout] --> tests/test.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 40 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 50 | assert_eq!(EnumWithDiscriminant::n(-80), Some(EnumWithDiscriminant::C)); [INFO] [stdout] | ^ variant or associated item not found in `EnumWithDiscriminant` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - assert_eq!(EnumWithDiscriminant::n(-80), Some(EnumWithDiscriminant::C)); [INFO] [stdout] 50 + assert_eq!(EnumWithDiscriminant::A, Some(EnumWithDiscriminant::C)); [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(EnumWithDiscriminant::ne(-80), Some(EnumWithDiscriminant::C)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `n` found for enum `EnumWithDiscriminant` in the current scope [INFO] [stdout] --> tests/test.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 40 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- variant or associated item `n` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 51 | assert_eq!(EnumWithDiscriminant::n(12), None); [INFO] [stdout] | ^ variant or associated item not found in `EnumWithDiscriminant` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 51 - assert_eq!(EnumWithDiscriminant::n(12), None); [INFO] [stdout] 51 + assert_eq!(EnumWithDiscriminant::A, None); [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(EnumWithDiscriminant::ne(12), None); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enumnvictorhowisers` (test "test") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "c1ca31fbcf5a758ede53d7ab3cc43903480dcc92c9303b1c4d47cd7399c991e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ca31fbcf5a758ede53d7ab3cc43903480dcc92c9303b1c4d47cd7399c991e9", kill_on_drop: false }` [INFO] [stdout] c1ca31fbcf5a758ede53d7ab3cc43903480dcc92c9303b1c4d47cd7399c991e9