[INFO] cloning repository https://github.com/sassman/sql-types-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sassman/sql-types-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsassman%2Fsql-types-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsassman%2Fsql-types-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d69e842a520f1c2e80466d174befa4c1e003494d [INFO] checking sassman/sql-types-rs against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsassman%2Fsql-types-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sassman/sql-types-rs on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sassman/sql-types-rs [INFO] finished tweaking git repo https://github.com/sassman/sql-types-rs [INFO] tweaked toml for git repo https://github.com/sassman/sql-types-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sassman/sql-types-rs 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vob v2.0.5 [INFO] [stderr] Downloaded vergen v3.1.0 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded sparsevec v0.1.3 [INFO] [stderr] Downloaded cactus v1.0.6 [INFO] [stderr] Downloaded lrlex v0.9.1 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded lrpar v0.9.1 [INFO] [stderr] Downloaded cfgrammar v0.9.1 [INFO] [stderr] Downloaded lrtable v0.9.1 [INFO] [stderr] Downloaded packedvec v1.2.2 [INFO] [stderr] Downloaded aho-corasick v0.7.14 [INFO] [stderr] Downloaded filetime v0.2.12 [INFO] [stderr] Downloaded regex-syntax v0.6.20 [INFO] [stderr] Downloaded regex v1.4.1 [INFO] [stderr] Downloaded syn v1.0.48 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3f6cf7e26712f597ec96e90b9903fcc226d84974047321182e4a64271062ef4 [INFO] running `Command { std: "docker" "start" "-a" "b3f6cf7e26712f597ec96e90b9903fcc226d84974047321182e4a64271062ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3f6cf7e26712f597ec96e90b9903fcc226d84974047321182e4a64271062ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f6cf7e26712f597ec96e90b9903fcc226d84974047321182e4a64271062ef4", kill_on_drop: false }` [INFO] [stdout] b3f6cf7e26712f597ec96e90b9903fcc226d84974047321182e4a64271062ef4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e22ccfbd8b5bf43f10953642ec45ec8b54a6ad10c8cf8d2230b1ec2cc9cf599 [INFO] running `Command { std: "docker" "start" "-a" "4e22ccfbd8b5bf43f10953642ec45ec8b54a6ad10c8cf8d2230b1ec2cc9cf599", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling vob v2.0.5 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cactus v1.0.6 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Compiling vergen v3.1.0 [INFO] [stderr] Compiling lrpar v0.9.1 [INFO] [stderr] Checking packedvec v1.2.2 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking cfgrammar v0.9.1 [INFO] [stderr] Checking sparsevec v0.1.3 [INFO] [stderr] Checking lrtable v0.9.1 [INFO] [stderr] Checking lrlex v0.9.1 [INFO] [stderr] Compiling sql-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/code_gen_ts.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_len(&mut self, len: &Len) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_len` is never used [INFO] [stdout] --> src/code_gen_ts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Visitor { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn visit_len(&mut self, len: &Len); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_gen_ts.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 25 | / impl<'i, T> TypeScriptGen<'i, T> [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | T: NonStreamingLexer<'i, u32>, [INFO] [stdout] | |__________________________________- associated function in this implementation [INFO] [stdout] 28 | { [INFO] [stdout] 29 | fn new(out: Box<&'i mut dyn Write>, lexer: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/code_gen_ts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self [INFO] [stdout] 39 | | .out [INFO] [stdout] 40 | | .write_all(str.to_string().as_bytes()) [INFO] [stdout] 41 | | .expect("Cannot write to output"); [INFO] [stdout] | |_____________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/code_gen_ts.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_len(&mut self, len: &Len) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errs` [INFO] [stdout] --> src/code_gen_ts.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | let (res, errs) = sql_y::parse(&lexer); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_errs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_len` is never used [INFO] [stdout] --> src/code_gen_ts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Visitor { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn visit_len(&mut self, len: &Len); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/code_gen_ts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self [INFO] [stdout] 39 | | .out [INFO] [stdout] 40 | | .write_all(str.to_string().as_bytes()) [INFO] [stdout] 41 | | .expect("Cannot write to output"); [INFO] [stdout] | |_____________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.98s [INFO] running `Command { std: "docker" "inspect" "4e22ccfbd8b5bf43f10953642ec45ec8b54a6ad10c8cf8d2230b1ec2cc9cf599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e22ccfbd8b5bf43f10953642ec45ec8b54a6ad10c8cf8d2230b1ec2cc9cf599", kill_on_drop: false }` [INFO] [stdout] 4e22ccfbd8b5bf43f10953642ec45ec8b54a6ad10c8cf8d2230b1ec2cc9cf599 [INFO] checking sassman/sql-types-rs against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsassman%2Fsql-types-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sassman/sql-types-rs on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sassman/sql-types-rs [INFO] finished tweaking git repo https://github.com/sassman/sql-types-rs [INFO] tweaked toml for git repo https://github.com/sassman/sql-types-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sassman/sql-types-rs 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4edeb37604dfe29011ee9ed030a88020abb03fc64e371d3d918998d3fdf9050 [INFO] running `Command { std: "docker" "start" "-a" "d4edeb37604dfe29011ee9ed030a88020abb03fc64e371d3d918998d3fdf9050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4edeb37604dfe29011ee9ed030a88020abb03fc64e371d3d918998d3fdf9050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4edeb37604dfe29011ee9ed030a88020abb03fc64e371d3d918998d3fdf9050", kill_on_drop: false }` [INFO] [stdout] d4edeb37604dfe29011ee9ed030a88020abb03fc64e371d3d918998d3fdf9050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f30af13629b0b126274023990a75d691a97162a52eb9c6b2ab79f07f25deef38 [INFO] running `Command { std: "docker" "start" "-a" "f30af13629b0b126274023990a75d691a97162a52eb9c6b2ab79f07f25deef38", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling vob v2.0.5 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cactus v1.0.6 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling vergen v3.1.0 [INFO] [stderr] Compiling lrpar v0.9.1 [INFO] [stderr] Checking packedvec v1.2.2 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking sparsevec v0.1.3 [INFO] [stderr] Checking cfgrammar v0.9.1 [INFO] [stderr] Checking lrtable v0.9.1 [INFO] [stderr] Checking lrlex v0.9.1 [INFO] [stderr] Compiling sql-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/code_gen_ts.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_len(&mut self, len: &Len) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_len` is never used [INFO] [stdout] --> src/code_gen_ts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Visitor { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn visit_len(&mut self, len: &Len); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_gen_ts.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 25 | / impl<'i, T> TypeScriptGen<'i, T> [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | T: NonStreamingLexer<'i, u32>, [INFO] [stdout] | |__________________________________- associated function in this implementation [INFO] [stdout] 28 | { [INFO] [stdout] 29 | fn new(out: Box<&'i mut dyn Write>, lexer: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/code_gen_ts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self [INFO] [stdout] 39 | | .out [INFO] [stdout] 40 | | .write_all(str.to_string().as_bytes()) [INFO] [stdout] 41 | | .expect("Cannot write to output"); [INFO] [stdout] | |_____________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/code_gen_ts.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_len(&mut self, len: &Len) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errs` [INFO] [stdout] --> src/code_gen_ts.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | let (res, errs) = sql_y::parse(&lexer); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_errs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit_len` is never used [INFO] [stdout] --> src/code_gen_ts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Visitor { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn visit_len(&mut self, len: &Len); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/code_gen_ts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / &self [INFO] [stdout] 39 | | .out [INFO] [stdout] 40 | | .write_all(str.to_string().as_bytes()) [INFO] [stdout] 41 | | .expect("Cannot write to output"); [INFO] [stdout] | |_____________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.83s [INFO] running `Command { std: "docker" "inspect" "f30af13629b0b126274023990a75d691a97162a52eb9c6b2ab79f07f25deef38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30af13629b0b126274023990a75d691a97162a52eb9c6b2ab79f07f25deef38", kill_on_drop: false }` [INFO] [stdout] f30af13629b0b126274023990a75d691a97162a52eb9c6b2ab79f07f25deef38