[INFO] cloning repository https://github.com/jasonalexander-ja/FUSIC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jasonalexander-ja/FUSIC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonalexander-ja%2FFUSIC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonalexander-ja%2FFUSIC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d759384b4813bd46042e7f3da16ff7d3f4f2e9c [INFO] checking jasonalexander-ja/FUSIC against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonalexander-ja%2FFUSIC" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jasonalexander-ja/FUSIC on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jasonalexander-ja/FUSIC [INFO] finished tweaking git repo https://github.com/jasonalexander-ja/FUSIC [INFO] tweaked toml for git repo https://github.com/jasonalexander-ja/FUSIC written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jasonalexander-ja/FUSIC 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9985c308e7bff700060d51264da238220765495e6b2f681955481b249536b274 [INFO] running `Command { std: "docker" "start" "-a" "9985c308e7bff700060d51264da238220765495e6b2f681955481b249536b274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9985c308e7bff700060d51264da238220765495e6b2f681955481b249536b274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9985c308e7bff700060d51264da238220765495e6b2f681955481b249536b274", kill_on_drop: false }` [INFO] [stdout] 9985c308e7bff700060d51264da238220765495e6b2f681955481b249536b274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9520c5b4da46c3e4686725abc581364e9db567d7d3c8d10cc596a3732d62ac66 [INFO] running `Command { std: "docker" "start" "-a" "9520c5b4da46c3e4686725abc581364e9db567d7d3c8d10cc596a3732d62ac66", kill_on_drop: false }` [INFO] [stderr] Checking FUSIC v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn parse_assignment(content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn parse_method_call(content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn parse_content(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variables` [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let variables: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn parse_assignment(content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn parse_method_call(content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn parse_content(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, `String`, and `Array` are never constructed [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum TypeVar { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Integer(usize), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Array(Vec>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl TypeVar { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn parse_string(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn parse_float(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn parse_int(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn make_array(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn parse_list(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn check_type_parse(first_letter: char, content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn parse_type_var(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assignment` is never constructed [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | struct Assignment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_assignment` is never used [INFO] [stdout] --> src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Assignment { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 102 | [INFO] [stdout] 103 | pub fn parse_assignment(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodCall` is never constructed [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct MethodCall { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_method_call` is never used [INFO] [stdout] --> src/main.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl MethodCall { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 117 | [INFO] [stdout] 118 | pub fn parse_method_call(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineContent` is never used [INFO] [stdout] --> src/main.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | enum LineContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_content` is never used [INFO] [stdout] --> src/main.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl LineContent { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 132 | [INFO] [stdout] 133 | pub fn parse_content(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/main.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_line` is never used [INFO] [stdout] --> src/main.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Line { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 147 | [INFO] [stdout] 148 | pub fn parse_line(line: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Method` is never constructed [INFO] [stdout] --> src/main.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | struct Method { [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:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | let stripped_content = content.trim().clone().to_string(); [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: unused variable: `variables` [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let variables: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, `String`, and `Array` are never constructed [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum TypeVar { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Integer(usize), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Array(Vec>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl TypeVar { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn parse_string(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn parse_float(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn parse_int(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn make_array(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn parse_list(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn check_type_parse(first_letter: char, content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn parse_type_var(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assignment` is never constructed [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | struct Assignment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_assignment` is never used [INFO] [stdout] --> src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Assignment { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 102 | [INFO] [stdout] 103 | pub fn parse_assignment(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodCall` is never constructed [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct MethodCall { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_method_call` is never used [INFO] [stdout] --> src/main.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl MethodCall { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 117 | [INFO] [stdout] 118 | pub fn parse_method_call(content: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineContent` is never used [INFO] [stdout] --> src/main.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | enum LineContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_content` is never used [INFO] [stdout] --> src/main.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl LineContent { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 132 | [INFO] [stdout] 133 | pub fn parse_content(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/main.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_line` is never used [INFO] [stdout] --> src/main.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Line { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 147 | [INFO] [stdout] 148 | pub fn parse_line(line: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Method` is never constructed [INFO] [stdout] --> src/main.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | struct Method { [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:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | let stripped_content = content.trim().clone().to_string(); [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "9520c5b4da46c3e4686725abc581364e9db567d7d3c8d10cc596a3732d62ac66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9520c5b4da46c3e4686725abc581364e9db567d7d3c8d10cc596a3732d62ac66", kill_on_drop: false }` [INFO] [stdout] 9520c5b4da46c3e4686725abc581364e9db567d7d3c8d10cc596a3732d62ac66