[INFO] cloning repository https://github.com/jatin837/stoolie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jatin837/stoolie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatin837%2Fstoolie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatin837%2Fstoolie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a285f4c81966489b2c4cc8646f3d72e5ba4a43e7 [INFO] checking jatin837/stoolie against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatin837%2Fstoolie" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jatin837/stoolie [INFO] finished tweaking git repo https://github.com/jatin837/stoolie [INFO] tweaked toml for git repo https://github.com/jatin837/stoolie written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jatin837/stoolie on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jatin837/stoolie 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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stfu8 v0.2.4 [INFO] [stderr] Downloaded hex-literal v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8acd4629d4403cf2e3493dbaa4d48f50bc70ae4a0117c405fd39fe30883cf7be [INFO] running `Command { std: "docker" "start" "-a" "8acd4629d4403cf2e3493dbaa4d48f50bc70ae4a0117c405fd39fe30883cf7be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8acd4629d4403cf2e3493dbaa4d48f50bc70ae4a0117c405fd39fe30883cf7be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8acd4629d4403cf2e3493dbaa4d48f50bc70ae4a0117c405fd39fe30883cf7be", kill_on_drop: false }` [INFO] [stdout] 8acd4629d4403cf2e3493dbaa4d48f50bc70ae4a0117c405fd39fe30883cf7be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd049329b68210a1673e8bc7a89774bfe70373ded2e156b8590f11d2c7c290fd [INFO] running `Command { std: "docker" "start" "-a" "cd049329b68210a1673e8bc7a89774bfe70373ded2e156b8590f11d2c7c290fd", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking stfu8 v0.2.4 [INFO] [stderr] Checking path_abs v0.5.1 [INFO] [stderr] Checking stoolie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn preprocess(text: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idle` [INFO] [stdout] --> src/main.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | fn post_issue(idle: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let contents = string_from_file(&"./.ISSUES".to_string()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn preprocess(text: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct Issue { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | heading: String, [INFO] [stdout] 38 | status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `post_issue` are never used [INFO] [stdout] --> src/main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Issue { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 43 | fn new(desc: String, status: char) -> Issue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn post_issue(idle: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct Issues { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 62 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_issues` is never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Issues { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn load_issues() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Posted` is never constructed [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | enum Status { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 79 | Posted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/main.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | .expect("something wrong") [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 107 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | .expect("something wrong") [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 112 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | .expect("something wrong") [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 117 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn preprocess(text: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idle` [INFO] [stdout] --> src/main.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | fn post_issue(idle: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let contents = string_from_file(&"./.ISSUES".to_string()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn preprocess(text: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct Issue { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | heading: String, [INFO] [stdout] 38 | status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `post_issue` are never used [INFO] [stdout] --> src/main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Issue { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 43 | fn new(desc: String, status: char) -> Issue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn post_issue(idle: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct Issues { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 62 | list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_issues` is never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Issues { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn load_issues() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Posted` is never constructed [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | enum Status { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 79 | Posted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/main.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | .expect("something wrong") [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 107 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | .expect("something wrong") [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 112 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | .expect("something wrong") [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 117 | | .clone() [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.89s [INFO] running `Command { std: "docker" "inspect" "cd049329b68210a1673e8bc7a89774bfe70373ded2e156b8590f11d2c7c290fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd049329b68210a1673e8bc7a89774bfe70373ded2e156b8590f11d2c7c290fd", kill_on_drop: false }` [INFO] [stdout] cd049329b68210a1673e8bc7a89774bfe70373ded2e156b8590f11d2c7c290fd