[INFO] fetching crate zconvertenumn 1.0.2... [INFO] testing zconvertenumn-1.0.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate zconvertenumn 1.0.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate zconvertenumn 1.0.2 [INFO] finished tweaking crates.io crate zconvertenumn 1.0.2 [INFO] tweaked toml for crates.io crate zconvertenumn 1.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zconvertenumn 1.0.2 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 5 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumnvictorhowisers v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eeb4e70a8825a808512bf1ed848447842e1c4dde7af1df3e64c8e4168ea450bf [INFO] running `Command { std: "docker" "start" "-a" "eeb4e70a8825a808512bf1ed848447842e1c4dde7af1df3e64c8e4168ea450bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eeb4e70a8825a808512bf1ed848447842e1c4dde7af1df3e64c8e4168ea450bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb4e70a8825a808512bf1ed848447842e1c4dde7af1df3e64c8e4168ea450bf", kill_on_drop: false }` [INFO] [stdout] eeb4e70a8825a808512bf1ed848447842e1c4dde7af1df3e64c8e4168ea450bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c353b3949c4a489ce75b6c9f72c3df24b4794ee18780f4eb2d5b291360050d4d [INFO] running `Command { std: "docker" "start" "-a" "c353b3949c4a489ce75b6c9f72c3df24b4794ee18780f4eb2d5b291360050d4d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling enumnvictorhowisers v0.1.13 [INFO] [stderr] Compiling zconvertenumn v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "c353b3949c4a489ce75b6c9f72c3df24b4794ee18780f4eb2d5b291360050d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c353b3949c4a489ce75b6c9f72c3df24b4794ee18780f4eb2d5b291360050d4d", kill_on_drop: false }` [INFO] [stdout] c353b3949c4a489ce75b6c9f72c3df24b4794ee18780f4eb2d5b291360050d4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b6bff13f1c8cbcc84293be3553634ef1800df2b8408510dd2a04f810fa921a33 [INFO] running `Command { std: "docker" "start" "-a" "b6bff13f1c8cbcc84293be3553634ef1800df2b8408510dd2a04f810fa921a33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling enumnvictorhowisers v0.1.13 [INFO] [stderr] Compiling zconvertenumn v1.0.2 (/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 `zconvertenumn` (test "test") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "b6bff13f1c8cbcc84293be3553634ef1800df2b8408510dd2a04f810fa921a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6bff13f1c8cbcc84293be3553634ef1800df2b8408510dd2a04f810fa921a33", kill_on_drop: false }` [INFO] [stdout] b6bff13f1c8cbcc84293be3553634ef1800df2b8408510dd2a04f810fa921a33