[INFO] fetching crate enumnvictorhowisers 0.1.13... [INFO] testing enumnvictorhowisers-0.1.13 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d680a3372b189baf048edf41e14da09d36417f2963a4b8d9320c08d6e84c2e7d [INFO] running `Command { std: "docker" "start" "-a" "d680a3372b189baf048edf41e14da09d36417f2963a4b8d9320c08d6e84c2e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d680a3372b189baf048edf41e14da09d36417f2963a4b8d9320c08d6e84c2e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d680a3372b189baf048edf41e14da09d36417f2963a4b8d9320c08d6e84c2e7d", kill_on_drop: false }` [INFO] [stdout] d680a3372b189baf048edf41e14da09d36417f2963a4b8d9320c08d6e84c2e7d [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aad77d551714bc9c05951131f4f7b16b2d2a48d1d366ed7920f09f259daf8be0 [INFO] running `Command { std: "docker" "start" "-a" "aad77d551714bc9c05951131f4f7b16b2d2a48d1d366ed7920f09f259daf8be0", kill_on_drop: false }` [INFO] [stderr] Compiling enumnvictorhowisers v0.1.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "aad77d551714bc9c05951131f4f7b16b2d2a48d1d366ed7920f09f259daf8be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad77d551714bc9c05951131f4f7b16b2d2a48d1d366ed7920f09f259daf8be0", kill_on_drop: false }` [INFO] [stdout] aad77d551714bc9c05951131f4f7b16b2d2a48d1d366ed7920f09f259daf8be0 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbfa68ed33e37415f6417391745f06cb5e3295c3247715b0890a87d6d0953019 [INFO] running `Command { std: "docker" "start" "-a" "dbfa68ed33e37415f6417391745f06cb5e3295c3247715b0890a87d6d0953019", kill_on_drop: false }` [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" "dbfa68ed33e37415f6417391745f06cb5e3295c3247715b0890a87d6d0953019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbfa68ed33e37415f6417391745f06cb5e3295c3247715b0890a87d6d0953019", kill_on_drop: false }` [INFO] [stdout] dbfa68ed33e37415f6417391745f06cb5e3295c3247715b0890a87d6d0953019