[INFO] cloning repository https://github.com/badonyt/srpython [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/badonyt/srpython" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadonyt%2Fsrpython", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadonyt%2Fsrpython'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9e3e386e8ee5b8196281e1c0730978dd86216a2 [INFO] checking badonyt/srpython against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadonyt%2Fsrpython" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/badonyt/srpython [INFO] finished tweaking git repo https://github.com/badonyt/srpython [INFO] tweaked toml for git repo https://github.com/badonyt/srpython written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/badonyt/srpython on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/badonyt/srpython 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 705ada6d2f95ace72042f883cc0052f6540d3727573b1c3af571987360376f3e [INFO] running `Command { std: "docker" "start" "-a" "705ada6d2f95ace72042f883cc0052f6540d3727573b1c3af571987360376f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "705ada6d2f95ace72042f883cc0052f6540d3727573b1c3af571987360376f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705ada6d2f95ace72042f883cc0052f6540d3727573b1c3af571987360376f3e", kill_on_drop: false }` [INFO] [stdout] 705ada6d2f95ace72042f883cc0052f6540d3727573b1c3af571987360376f3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab74c5d72249a679b97c9f0df0d612700115320c2f08009a8f52b3a4ccf972ef [INFO] running `Command { std: "docker" "start" "-a" "ab74c5d72249a679b97c9f0df0d612700115320c2f08009a8f52b3a4ccf972ef", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking evalexpr v8.1.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking srpython v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Value_var` should have an upper camel case name [INFO] [stdout] --> src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Value_var { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ValueVar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Value_var` should have an upper camel case name [INFO] [stdout] --> src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Value_var { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ValueVar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut divided: Vec<&str> = extract_bracket_contents.split("+").collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | let mut fo = goofy_value[0].to_string().parse::().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | for i in 0..fo{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_no_repeated_characters` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn has_no_repeated_characters(s: &str, ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:209:84 [INFO] [stdout] | [INFO] [stdout] 209 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:209:110 [INFO] [stdout] | [INFO] [stdout] 209 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:224:80 [INFO] [stdout] | [INFO] [stdout] 224 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:224:106 [INFO] [stdout] | [INFO] [stdout] 224 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srpython` (bin "srpython" test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut divided: Vec<&str> = extract_bracket_contents.split("+").collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | let mut fo = goofy_value[0].to_string().parse::().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | for i in 0..fo{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_no_repeated_characters` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn has_no_repeated_characters(s: &str, ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:209:84 [INFO] [stdout] | [INFO] [stdout] 209 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:209:110 [INFO] [stdout] | [INFO] [stdout] 209 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:224:80 [INFO] [stdout] | [INFO] [stdout] 224 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:224:106 [INFO] [stdout] | [INFO] [stdout] 224 | ... if is.trim().starts_with("}") && deep == 0{ignore_lines.insert((i+1).try_into().unwrap(),(i+y+2).try_into().unwrap());break;}else i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srpython` (bin "srpython") due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ab74c5d72249a679b97c9f0df0d612700115320c2f08009a8f52b3a4ccf972ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab74c5d72249a679b97c9f0df0d612700115320c2f08009a8f52b3a4ccf972ef", kill_on_drop: false }` [INFO] [stdout] ab74c5d72249a679b97c9f0df0d612700115320c2f08009a8f52b3a4ccf972ef