[INFO] fetching crate enumnvictorhowisers 0.1.13... [INFO] testing enumnvictorhowisers-0.1.13 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b3a9fee704b5d0203c9f3ebfafecbc5c59ed09b77239fa5ac94da382d36ed97 [INFO] running `Command { std: "docker" "start" "-a" "1b3a9fee704b5d0203c9f3ebfafecbc5c59ed09b77239fa5ac94da382d36ed97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b3a9fee704b5d0203c9f3ebfafecbc5c59ed09b77239fa5ac94da382d36ed97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3a9fee704b5d0203c9f3ebfafecbc5c59ed09b77239fa5ac94da382d36ed97", kill_on_drop: false }` [INFO] [stdout] 1b3a9fee704b5d0203c9f3ebfafecbc5c59ed09b77239fa5ac94da382d36ed97 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c29ef3f19c909c7dc9a9400ab567b09547919e9d7f8b5d31fc9a28a18f28a078 [INFO] running `Command { std: "docker" "start" "-a" "c29ef3f19c909c7dc9a9400ab567b09547919e9d7f8b5d31fc9a28a18f28a078", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling enumnvictorhowisers v0.1.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "c29ef3f19c909c7dc9a9400ab567b09547919e9d7f8b5d31fc9a28a18f28a078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29ef3f19c909c7dc9a9400ab567b09547919e9d7f8b5d31fc9a28a18f28a078", kill_on_drop: false }` [INFO] [stdout] c29ef3f19c909c7dc9a9400ab567b09547919e9d7f8b5d31fc9a28a18f28a078 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6df7b1c672eff0d0303ac024526e3972efa72cc88d38db055a8ad3810158e498 [INFO] running `Command { std: "docker" "start" "-a" "6df7b1c672eff0d0303ac024526e3972efa72cc88d38db055a8ad3810158e498", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling 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" "6df7b1c672eff0d0303ac024526e3972efa72cc88d38db055a8ad3810158e498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df7b1c672eff0d0303ac024526e3972efa72cc88d38db055a8ad3810158e498", kill_on_drop: false }` [INFO] [stdout] 6df7b1c672eff0d0303ac024526e3972efa72cc88d38db055a8ad3810158e498