[INFO] cloning repository https://github.com/psatomas/option_and_result_enums [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psatomas/option_and_result_enums" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Foption_and_result_enums", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Foption_and_result_enums'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75571c0538a5fbd3e7646ee96701d09e07da4589 [INFO] checking psatomas/option_and_result_enums against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Foption_and_result_enums" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psatomas/option_and_result_enums [INFO] finished tweaking git repo https://github.com/psatomas/option_and_result_enums [INFO] tweaked toml for git repo https://github.com/psatomas/option_and_result_enums written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psatomas/option_and_result_enums on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psatomas/option_and_result_enums 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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48c34b92b4b5c55c6ef56113adcd150061b2dd87d040be90d017d0a7d3de0b74 [INFO] running `Command { std: "docker" "start" "-a" "48c34b92b4b5c55c6ef56113adcd150061b2dd87d040be90d017d0a7d3de0b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48c34b92b4b5c55c6ef56113adcd150061b2dd87d040be90d017d0a7d3de0b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c34b92b4b5c55c6ef56113adcd150061b2dd87d040be90d017d0a7d3de0b74", kill_on_drop: false }` [INFO] [stdout] 48c34b92b4b5c55c6ef56113adcd150061b2dd87d040be90d017d0a7d3de0b74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a437d4ca9bfc3f04a6d44a3f71229d76bf5961372516272b3b4a433784cbae2 [INFO] running `Command { std: "docker" "start" "-a" "5a437d4ca9bfc3f04a6d44a3f71229d76bf5961372516272b3b4a433784cbae2", kill_on_drop: false }` [INFO] [stderr] Checking option_and_result_enums v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid character '(' in crate name: `real_example_of_result_enum_(the_parse_method_on_a_string)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character ')' in crate name: `real_example_of_result_enum_(the_parse_method_on_a_string)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/the_option_enum.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let a = Option::Some(5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/bin/the_option_enum.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let b = Option::Some("hello"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/the_option_enum.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let c = Option::Some(true); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/the_option_enum.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let a: Option = Option::Some(5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/the_option_enum.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let a = Option::::Some(5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/the_option_enum.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let d: Option<&str> = Option::None; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `option_and_result_enums` (bin "real_example_of_result_enum_(the_parse_method_on_a_string)" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/bin/nuances_of_unwrap_method_on_result.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let content = match my_result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/the_option_enum.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let a = Option::Some(5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/bin/the_option_enum.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let b = Option::Some("hello"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/the_option_enum.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let c = Option::Some(true); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/the_option_enum.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let a: Option = Option::Some(5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/the_option_enum.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let a = Option::::Some(5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/the_option_enum.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let d: Option<&str> = Option::None; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a437d4ca9bfc3f04a6d44a3f71229d76bf5961372516272b3b4a433784cbae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a437d4ca9bfc3f04a6d44a3f71229d76bf5961372516272b3b4a433784cbae2", kill_on_drop: false }` [INFO] [stdout] 5a437d4ca9bfc3f04a6d44a3f71229d76bf5961372516272b3b4a433784cbae2