[INFO] cloning repository https://github.com/hanako-eo/rust-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanako-eo/rust-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Frust-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Frust-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afeeafd5464effca45943a1660a91b16463e4d83 [INFO] checking hanako-eo/rust-exercises against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Frust-exercises" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hanako-eo/rust-exercises [INFO] finished tweaking git repo https://github.com/hanako-eo/rust-exercises [INFO] tweaked toml for git repo https://github.com/hanako-eo/rust-exercises written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hanako-eo/rust-exercises on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hanako-eo/rust-exercises 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf4d17eaa47ece1b0d31cf8cd6510d03a84e916f8d8453b214e32d70a575358 [INFO] running `Command { std: "docker" "start" "-a" "ebf4d17eaa47ece1b0d31cf8cd6510d03a84e916f8d8453b214e32d70a575358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf4d17eaa47ece1b0d31cf8cd6510d03a84e916f8d8453b214e32d70a575358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf4d17eaa47ece1b0d31cf8cd6510d03a84e916f8d8453b214e32d70a575358", kill_on_drop: false }` [INFO] [stdout] ebf4d17eaa47ece1b0d31cf8cd6510d03a84e916f8d8453b214e32d70a575358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a40af40182af5b85dbad5cce2d523d08540f409d6651dc8b89fd6ec632d93d1 [INFO] running `Command { std: "docker" "start" "-a" "5a40af40182af5b85dbad5cce2d523d08540f409d6651dc8b89fd6ec632d93d1", kill_on_drop: false }` [INFO] [stderr] Checking rust-execises v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no variant or associated item named `parse_once` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_once` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 90 | let parsed = Types::parse_once("123".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Number` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Number` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 91 | assert_eq!(parsed, Types::Number(123)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_once` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_once` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 93 | let parsed = Types::parse_once("a123".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 94 | assert_eq!(parsed, Types::Word("a123".to_string())); [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_once` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_once` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 96 | let parsed = Types::parse_once("123a".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(parsed, Types::Word("123a".to_string())); [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_once` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_once` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 99 | let parsed = Types::parse_once("azerty".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 100 | assert_eq!(parsed, Types::Word("azerty".to_string())); [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_once` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_once` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 102 | let parsed = Types::parse_once("azerty 3".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 103 | assert_eq!(parsed, Types::Word("azerty 3".to_string())); [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_many` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_many` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 108 | let parsed = Types::parse_many("123 456".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Number` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Number` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 109 | assert_eq!(parsed, vec![Types::Number(123), Types::Number(456)]); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Number` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:109:56 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Number` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 109 | assert_eq!(parsed, vec![Types::Number(123), Types::Number(456)]); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_many` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_many` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 111 | let parsed = Types::parse_many("azerty 456".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 114 | vec![Types::Word("azerty".to_string()), Types::Number(456)] [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Number` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:114:56 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Number` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 114 | vec![Types::Word("azerty".to_string()), Types::Number(456)] [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_many` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_many` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 117 | let parsed = Types::parse_many("123 azerty".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Number` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Number` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 120 | vec![Types::Number(123), Types::Word("azerty".to_string())] [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 120 | vec![Types::Number(123), Types::Word("azerty".to_string())] [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_many` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_many` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 123 | let parsed = Types::parse_many("azerty azerty2".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 127 | Types::Word("azerty".to_string()), [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 128 | Types::Word("azerty2".to_string()) [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_many` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `parse_many` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 132 | let parsed = Types::parse_many("a b c".to_string()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 136 | Types::Word("a".to_string()), [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 137 | Types::Word("b".to_string()), [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Word` found for enum `Types` in the current scope [INFO] [stdout] --> src/exo1.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 76 | enum Types {} [INFO] [stdout] | ---------- variant or associated item `Word` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 138 | Types::Word("c".to_string()) [INFO] [stdout] | ^^^^ variant or associated item not found in `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-execises` (bin "rust-execises" test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "5a40af40182af5b85dbad5cce2d523d08540f409d6651dc8b89fd6ec632d93d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a40af40182af5b85dbad5cce2d523d08540f409d6651dc8b89fd6ec632d93d1", kill_on_drop: false }` [INFO] [stdout] 5a40af40182af5b85dbad5cce2d523d08540f409d6651dc8b89fd6ec632d93d1