[INFO] cloning repository https://github.com/atkurtul/rustvkxml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atkurtul/rustvkxml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatkurtul%2Frustvkxml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatkurtul%2Frustvkxml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49c391be2ad92786fad13c8e881396e5fb083e82 [INFO] checking atkurtul/rustvkxml against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatkurtul%2Frustvkxml" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atkurtul/rustvkxml on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atkurtul/rustvkxml [INFO] finished tweaking git repo https://github.com/atkurtul/rustvkxml [INFO] tweaked toml for git repo https://github.com/atkurtul/rustvkxml written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/atkurtul/rustvkxml already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34757efa47dd6a5b124a7b0b0e0838f78edb5f8bfda386d5ab7a4b0468e3c1ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "34757efa47dd6a5b124a7b0b0e0838f78edb5f8bfda386d5ab7a4b0468e3c1ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34757efa47dd6a5b124a7b0b0e0838f78edb5f8bfda386d5ab7a4b0468e3c1ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34757efa47dd6a5b124a7b0b0e0838f78edb5f8bfda386d5ab7a4b0468e3c1ea", kill_on_drop: false }` [INFO] [stdout] 34757efa47dd6a5b124a7b0b0e0838f78edb5f8bfda386d5ab7a4b0468e3c1ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5ef0f9a31aa9de8d329b0ff453ea4d8ef7aca678d3fdc565af125894c86c286 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d5ef0f9a31aa9de8d329b0ff453ea4d8ef7aca678d3fdc565af125894c86c286", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling cc v1.0.63 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking vk-parse v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling lalrpop-util v0.19.1 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.19.1 [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cc::*` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cc::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xml::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use xml::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `i64` should have an upper camel case name [INFO] [stdout] --> src/main.rs:616:5 [INFO] [stdout] | [INFO] [stdout] 616 | i64(i64), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `apic` should have an upper camel case name [INFO] [stdout] --> src/main.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 617 | apic(String), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Apic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `u32` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1219:5 [INFO] [stdout] | [INFO] [stdout] 1219 | u32(u32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `U32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `u64` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1220:5 [INFO] [stdout] | [INFO] [stdout] 1220 | u64(u64), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `U64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `i64` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1221:5 [INFO] [stdout] | [INFO] [stdout] 1221 | i64(i64), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f32` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1222:5 [INFO] [stdout] | [INFO] [stdout] 1222 | f32(u32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `test` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1328:8 [INFO] [stdout] | [INFO] [stdout] 1328 | struct test {} [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xml::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use xml::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `i64` should have an upper camel case name [INFO] [stdout] --> src/main.rs:616:5 [INFO] [stdout] | [INFO] [stdout] 616 | i64(i64), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `apic` should have an upper camel case name [INFO] [stdout] --> src/main.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 617 | apic(String), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Apic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `u32` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1219:5 [INFO] [stdout] | [INFO] [stdout] 1219 | u32(u32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `U32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `u64` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1220:5 [INFO] [stdout] | [INFO] [stdout] 1220 | u64(u64), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `U64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `i64` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1221:5 [INFO] [stdout] | [INFO] [stdout] 1221 | i64(i64), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f32` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1222:5 [INFO] [stdout] | [INFO] [stdout] 1222 | f32(u32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `test` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1328:8 [INFO] [stdout] | [INFO] [stdout] 1328 | struct test {} [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> src/main.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | statics: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:950:17 [INFO] [stdout] | [INFO] [stdout] 950 | .find(|(i, e)| e.name == "API Constants") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let (ty, s) = match self.cv.as_str() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:328:44 [INFO] [stdout] | [INFO] [stdout] 328 | ... .find(|(a, b)| a.as_str() == len) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenc` is assigned to, but never used [INFO] [stdout] --> src/main.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let mut lenc = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_lenc` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slf` [INFO] [stdout] --> src/main.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let slf = self.ret == "c_void"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_slf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:505:24 [INFO] [stdout] | [INFO] [stdout] 505 | .find(|(k, v)| k == attr) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:506:20 [INFO] [stdout] | [INFO] [stdout] 506 | .map(|(k, v)| v.as_str()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:1126:21 [INFO] [stdout] | [INFO] [stdout] 1126 | if let Some(m) = self.members.iter().find(|n| n.0 == name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:1145:21 [INFO] [stdout] | [INFO] [stdout] 1145 | if let Some(m) = self.members.iter().find(|n| n.0 == name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1207:51 [INFO] [stdout] | [INFO] [stdout] 1207 | self.members.iter_mut().for_each(|(n, e)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1244:24 [INFO] [stdout] | [INFO] [stdout] 1244 | Value::f32(v) => "f32", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1245:24 [INFO] [stdout] | [INFO] [stdout] 1245 | Value::u64(v) => "u64", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1246:24 [INFO] [stdout] | [INFO] [stdout] 1246 | Value::u32(v) => "u32", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1247:24 [INFO] [stdout] | [INFO] [stdout] 1247 | Value::i64(v) => "i64", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:1303:31 [INFO] [stdout] | [INFO] [stdout] 1303 | Expr::Accessor(l, r) => Some(l), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:1331:19 [INFO] [stdout] | [INFO] [stdout] 1331 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut isstr = self.null_term && self.len == Expr::Void; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let mut len = format!("{} as _", self.len.eval_var(format!("{}.len()", self.name))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | let mut out = if out.len() > 1 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let mut c = transmute::(curr_node.unwrap()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:624:32 [INFO] [stdout] | [INFO] [stdout] 624 | enums.iter_mut().for_each(|mut e| e.rename()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> src/main.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | statics: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:950:17 [INFO] [stdout] | [INFO] [stdout] 950 | .find(|(i, e)| e.name == "API Constants") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let (ty, s) = match self.cv.as_str() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:328:44 [INFO] [stdout] | [INFO] [stdout] 328 | ... .find(|(a, b)| a.as_str() == len) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lenc` is assigned to, but never used [INFO] [stdout] --> src/main.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let mut lenc = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_lenc` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slf` [INFO] [stdout] --> src/main.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let slf = self.ret == "c_void"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_slf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:505:24 [INFO] [stdout] | [INFO] [stdout] 505 | .find(|(k, v)| k == attr) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:506:20 [INFO] [stdout] | [INFO] [stdout] 506 | .map(|(k, v)| v.as_str()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:1126:21 [INFO] [stdout] | [INFO] [stdout] 1126 | if let Some(m) = self.members.iter().find(|n| n.0 == name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:1145:21 [INFO] [stdout] | [INFO] [stdout] 1145 | if let Some(m) = self.members.iter().find(|n| n.0 == name) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1207:51 [INFO] [stdout] | [INFO] [stdout] 1207 | self.members.iter_mut().for_each(|(n, e)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1244:24 [INFO] [stdout] | [INFO] [stdout] 1244 | Value::f32(v) => "f32", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1245:24 [INFO] [stdout] | [INFO] [stdout] 1245 | Value::u64(v) => "u64", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1246:24 [INFO] [stdout] | [INFO] [stdout] 1246 | Value::u32(v) => "u32", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1247:24 [INFO] [stdout] | [INFO] [stdout] 1247 | Value::i64(v) => "i64", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:1303:31 [INFO] [stdout] | [INFO] [stdout] 1303 | Expr::Accessor(l, r) => Some(l), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:1331:19 [INFO] [stdout] | [INFO] [stdout] 1331 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut isstr = self.null_term && self.len == Expr::Void; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let mut len = format!("{} as _", self.len.eval_var(format!("{}.len()", self.name))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | let mut out = if out.len() > 1 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let mut c = transmute::(curr_node.unwrap()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:624:32 [INFO] [stdout] | [INFO] [stdout] 624 | enums.iter_mut().for_each(|mut e| e.rename()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `val_str` [INFO] [stdout] --> src/main.rs:1242:8 [INFO] [stdout] | [INFO] [stdout] 1242 | fn val_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `val_str` [INFO] [stdout] --> src/main.rs:1242:8 [INFO] [stdout] | [INFO] [stdout] 1242 | fn val_str(self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "d5ef0f9a31aa9de8d329b0ff453ea4d8ef7aca678d3fdc565af125894c86c286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ef0f9a31aa9de8d329b0ff453ea4d8ef7aca678d3fdc565af125894c86c286", kill_on_drop: false }` [INFO] [stdout] d5ef0f9a31aa9de8d329b0ff453ea4d8ef7aca678d3fdc565af125894c86c286