[INFO] cloning repository https://github.com/mreboland/rustEnums [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustEnums" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/mreboland/rustEnums [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustEnums" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/mreboland/rustEnums [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustEnums" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf27e694375b874cbf68bd2f70830a202732c17a [INFO] checking mreboland/rustEnums against master#69fd5e4059f8840f09f60269bcda23dcdcb77151 for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustEnums" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustEnums on toolchain 69fd5e4059f8840f09f60269bcda23dcdcb77151 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mreboland/rustEnums [INFO] finished tweaking git repo https://github.com/mreboland/rustEnums [INFO] tweaked toml for git repo https://github.com/mreboland/rustEnums written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustEnums already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee28c017f71e02271d215fdbc0cbe382f127140a7376ab74df16b3845b7d015b [INFO] running `Command { std: "docker" "start" "-a" "ee28c017f71e02271d215fdbc0cbe382f127140a7376ab74df16b3845b7d015b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee28c017f71e02271d215fdbc0cbe382f127140a7376ab74df16b3845b7d015b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee28c017f71e02271d215fdbc0cbe382f127140a7376ab74df16b3845b7d015b", kill_on_drop: false }` [INFO] [stdout] ee28c017f71e02271d215fdbc0cbe382f127140a7376ab74df16b3845b7d015b [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9159200e58cc87ac3f940815b37693992a6d64a2dacace095fcb68e67d2c2818 [INFO] running `Command { std: "docker" "start" "-a" "9159200e58cc87ac3f940815b37693992a6d64a2dacace095fcb68e67d2c2818", kill_on_drop: false }` [INFO] [stderr] Checking enums v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 55 | enum Pet { [INFO] [stdout] | --- while parsing this enum [INFO] [stdout] ... [INFO] [stdout] 58 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 55 | enum Pet { [INFO] [stdout] | --- while parsing this enum [INFO] [stdout] ... [INFO] [stdout] 58 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `compare` is defined multiple times [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------------------------------------- previous definition of the value `compare` here [INFO] [stdout] ... [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `compare` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `compare` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Ordering` is defined multiple times [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ------------- previous definition of the type `Ordering` here [INFO] [stdout] ... [INFO] [stdout] 26 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Ordering` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Ordering` must be defined only once in the type namespace of this block [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 26 | use std::cmp::Ordering as OtherOrdering; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Ordering` is defined multiple times [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ------------- previous definition of the type `Ordering` here [INFO] [stdout] ... [INFO] [stdout] 39 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Ordering` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Ordering` must be defined only once in the type namespace of this block [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 39 | use std::cmp::Ordering as OtherOrdering; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `compare` is defined multiple times [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------------------------------------- previous definition of the value `compare` here [INFO] [stdout] ... [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `compare` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `compare` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Ordering` is defined multiple times [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ------------- previous definition of the type `Ordering` here [INFO] [stdout] ... [INFO] [stdout] 26 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Ordering` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Ordering` must be defined only once in the type namespace of this block [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 26 | use std::cmp::Ordering as OtherOrdering; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Ordering` is defined multiple times [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ------------- previous definition of the type `Ordering` here [INFO] [stdout] ... [INFO] [stdout] 39 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Ordering` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Ordering` must be defined only once in the type namespace of this block [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 39 | use std::cmp::Ordering as OtherOrdering; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------- expected `main::Ordering` because of return type [INFO] [stdout] 43 | if n < m { [INFO] [stdout] 44 | Less [INFO] [stdout] | ^^^^ expected `main::Ordering`, found `std::cmp::Ordering` [INFO] [stdout] | [INFO] [stdout] = note: `std::cmp::Ordering` and `main::Ordering` have similar names, but are actually distinct types [INFO] [stdout] note: `std::cmp::Ordering` is defined in crate `core` [INFO] [stdout] --> /rustc/69fd5e4059f8840f09f60269bcda23dcdcb77151/library/core/src/cmp.rs:387:1 [INFO] [stdout] note: `main::Ordering` is defined in the current crate [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------- expected `main::Ordering` because of return type [INFO] [stdout] ... [INFO] [stdout] 46 | Greater [INFO] [stdout] | ^^^^^^^ expected `main::Ordering`, found `std::cmp::Ordering` [INFO] [stdout] | [INFO] [stdout] = note: `std::cmp::Ordering` and `main::Ordering` have similar names, but are actually distinct types [INFO] [stdout] note: `std::cmp::Ordering` is defined in crate `core` [INFO] [stdout] --> /rustc/69fd5e4059f8840f09f60269bcda23dcdcb77151/library/core/src/cmp.rs:387:1 [INFO] [stdout] note: `main::Ordering` is defined in the current crate [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------- expected `main::Ordering` because of return type [INFO] [stdout] ... [INFO] [stdout] 48 | Equal [INFO] [stdout] | ^^^^^ expected `main::Ordering`, found `std::cmp::Ordering` [INFO] [stdout] | [INFO] [stdout] = note: `std::cmp::Ordering` and `main::Ordering` have similar names, but are actually distinct types [INFO] [stdout] note: `std::cmp::Ordering` is defined in crate `core` [INFO] [stdout] --> /rustc/69fd5e4059f8840f09f60269bcda23dcdcb77151/library/core/src/cmp.rs:387:1 [INFO] [stdout] note: `main::Ordering` is defined in the current crate [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0308, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------- expected `main::Ordering` because of return type [INFO] [stdout] 43 | if n < m { [INFO] [stdout] 44 | Less [INFO] [stdout] | ^^^^ expected `main::Ordering`, found `std::cmp::Ordering` [INFO] [stdout] | [INFO] [stdout] = note: `std::cmp::Ordering` and `main::Ordering` have similar names, but are actually distinct types [INFO] [stdout] note: `std::cmp::Ordering` is defined in crate `core` [INFO] [stdout] --> /rustc/69fd5e4059f8840f09f60269bcda23dcdcb77151/library/core/src/cmp.rs:387:1 [INFO] [stdout] note: `main::Ordering` is defined in the current crate [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------- expected `main::Ordering` because of return type [INFO] [stdout] ... [INFO] [stdout] 46 | Greater [INFO] [stdout] | ^^^^^^^ expected `main::Ordering`, found `std::cmp::Ordering` [INFO] [stdout] | [INFO] [stdout] = note: `std::cmp::Ordering` and `main::Ordering` have similar names, but are actually distinct types [INFO] [stdout] note: `std::cmp::Ordering` is defined in crate `core` [INFO] [stdout] --> /rustc/69fd5e4059f8840f09f60269bcda23dcdcb77151/library/core/src/cmp.rs:387:1 [INFO] [stdout] note: `main::Ordering` is defined in the current crate [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn compare(n: i32, m: i32) -> Ordering { [INFO] [stdout] | -------- expected `main::Ordering` because of return type [INFO] [stdout] ... [INFO] [stdout] 48 | Equal [INFO] [stdout] | ^^^^^ expected `main::Ordering`, found `std::cmp::Ordering` [INFO] [stdout] | [INFO] [stdout] = note: `std::cmp::Ordering` and `main::Ordering` have similar names, but are actually distinct types [INFO] [stdout] note: `std::cmp::Ordering` is defined in crate `core` [INFO] [stdout] --> /rustc/69fd5e4059f8840f09f60269bcda23dcdcb77151/library/core/src/cmp.rs:387:1 [INFO] [stdout] note: `main::Ordering` is defined in the current crate [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0308, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enums` (bin "enums") due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `enums` (bin "enums" test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9159200e58cc87ac3f940815b37693992a6d64a2dacace095fcb68e67d2c2818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9159200e58cc87ac3f940815b37693992a6d64a2dacace095fcb68e67d2c2818", kill_on_drop: false }` [INFO] [stdout] 9159200e58cc87ac3f940815b37693992a6d64a2dacace095fcb68e67d2c2818