[INFO] fetching crate zconvertenumn 1.0.2... [INFO] building zconvertenumn-1.0.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate zconvertenumn 1.0.2 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zconvertenumn 1.0.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd4a4d9eb6838aa0305efbb0305eea3d7f5d1b33b8b10d1eb53f05910cb4ded5 [INFO] running `Command { std: "docker" "start" "-a" "fd4a4d9eb6838aa0305efbb0305eea3d7f5d1b33b8b10d1eb53f05910cb4ded5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd4a4d9eb6838aa0305efbb0305eea3d7f5d1b33b8b10d1eb53f05910cb4ded5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4a4d9eb6838aa0305efbb0305eea3d7f5d1b33b8b10d1eb53f05910cb4ded5", kill_on_drop: false }` [INFO] [stdout] fd4a4d9eb6838aa0305efbb0305eea3d7f5d1b33b8b10d1eb53f05910cb4ded5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07bb5ced6f5ea8c44035758b944a6563623e1fef27af2d5deb512f0f197d6e04 [INFO] running `Command { std: "docker" "start" "-a" "07bb5ced6f5ea8c44035758b944a6563623e1fef27af2d5deb512f0f197d6e04", 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 3.47s [INFO] running `Command { std: "docker" "inspect" "07bb5ced6f5ea8c44035758b944a6563623e1fef27af2d5deb512f0f197d6e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07bb5ced6f5ea8c44035758b944a6563623e1fef27af2d5deb512f0f197d6e04", kill_on_drop: false }` [INFO] [stdout] 07bb5ced6f5ea8c44035758b944a6563623e1fef27af2d5deb512f0f197d6e04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43b2123e59f5c3a1e8682da3f45327ca61c576e0830de2779b8ff6bb735f77ce [INFO] running `Command { std: "docker" "start" "-a" "43b2123e59f5c3a1e8682da3f45327ca61c576e0830de2779b8ff6bb735f77ce", 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.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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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" "43b2123e59f5c3a1e8682da3f45327ca61c576e0830de2779b8ff6bb735f77ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b2123e59f5c3a1e8682da3f45327ca61c576e0830de2779b8ff6bb735f77ce", kill_on_drop: false }` [INFO] [stdout] 43b2123e59f5c3a1e8682da3f45327ca61c576e0830de2779b8ff6bb735f77ce