[INFO] cloning repository https://github.com/MonliH/fluo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MonliH/fluo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonliH%2Ffluo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonliH%2Ffluo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e794dc9217e962971ec52b52db881cb970c4e625 [INFO] testing MonliH/fluo against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonliH%2Ffluo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MonliH/fluo [INFO] finished tweaking git repo https://github.com/MonliH/fluo [INFO] tweaked toml for git repo https://github.com/MonliH/fluo written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MonliH/fluo on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MonliH/fluo 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi-util v0.1.5 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded codespan-reporting v0.11.1 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded ahash v0.7.4 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8f28a400fc007635588c89e5ebd2711b1e70ab4bd31505a1893c222288dec9 [INFO] running `Command { std: "docker" "start" "-a" "1f8f28a400fc007635588c89e5ebd2711b1e70ab4bd31505a1893c222288dec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8f28a400fc007635588c89e5ebd2711b1e70ab4bd31505a1893c222288dec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8f28a400fc007635588c89e5ebd2711b1e70ab4bd31505a1893c222288dec9", kill_on_drop: false }` [INFO] [stdout] 1f8f28a400fc007635588c89e5ebd2711b1e70ab4bd31505a1893c222288dec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e3031574536fb0362158e36355ed8a228cb3b41331d741345dd326d334fe9f97 [INFO] running `Command { std: "docker" "start" "-a" "e3031574536fb0362158e36355ed8a228cb3b41331d741345dd326d334fe9f97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fluoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/diagnostic.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileId(usize); [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FileId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `single_char` are never used [INFO] [stdout] --> src/common/diagnostic.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Span { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 26 | pub fn new(s: usize, e: usize, fid: FileId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn single_char(s: usize, fid: FileId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/common/diagnostic.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_owned`, `with_annot_owned`, `with_annot`, and `with_annot_no_msg` are never used [INFO] [stdout] --> src/common/diagnostic.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Diagnostic { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new(ty: ErrorType, msg: &'static str, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn new_owned(ty: ErrorType, msg: String, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_annot_owned(mut self, msg: String, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_annot(mut self, msg: &'static str, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_annot_no_msg(mut self, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_owned`, `new_msgless`, and `new` are never used [INFO] [stdout] --> src/common/diagnostic.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Annotation { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 110 | pub fn new_owned(msg: String, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn new_msgless(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn new(msg: &'static str, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LexError` is never constructed [INFO] [stdout] --> src/common/diagnostic.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 131 | LexError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/common/interner.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StrId { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | pub fn inner(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `map`, `vec`, `buf`, and `full` are never read [INFO] [stdout] --> src/common/interner.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Interner { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | map: HashMap<&'static str, StrId>, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | vec: Vec<&'static str>, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | buf: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | full: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `intern`, `lookup`, and `alloc` are never used [INFO] [stdout] --> src/common/interner.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Interner { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub fn with_capacity(cap: usize) -> Interner { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn intern(&mut self, name: &str) -> StrId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn lookup(&self, id: StrId) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | unsafe fn alloc(&mut self, name: &str) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/frontend/ast.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/frontend/ast.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Expr {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/frontend/lex.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/lex.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | LParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | RParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | LAngle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | RAngle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | Fn, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Case, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Do, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | [INFO] [stdout] 32 | String(StrId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Operator(StrId), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | Atom(StrId), [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | Ident(StrId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EOF` is never used [INFO] [stdout] --> src/frontend/lex.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const EOF: char = '\0'; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frontend/lex.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 50 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn next_token(&mut self) -> Failable> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn is_operator(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn eat(&mut self) -> char { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn peek_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn is_id_start(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn is_id_continue(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn is_eof(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn is_whitespace(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn consume_while(&mut self, first: char, predicate: impl Fn(char) -> bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn consume_until(&mut self, predicate: impl Fn(char) -> bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "e3031574536fb0362158e36355ed8a228cb3b41331d741345dd326d334fe9f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3031574536fb0362158e36355ed8a228cb3b41331d741345dd326d334fe9f97", kill_on_drop: false }` [INFO] [stdout] e3031574536fb0362158e36355ed8a228cb3b41331d741345dd326d334fe9f97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a3749733c1fe70e0b15abedaf86c01c8b9704a512375fbffcaa96038034ae0e0 [INFO] running `Command { std: "docker" "start" "-a" "a3749733c1fe70e0b15abedaf86c01c8b9704a512375fbffcaa96038034ae0e0", kill_on_drop: false }` [INFO] [stderr] Compiling fluoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/frontend/lex.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | token += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | / match_tokens!( [INFO] [stdout] 224 | | atom_test, [INFO] [stdout] 225 | | "(:testing ok)", [INFO] [stdout] 226 | | {0 => "testing", 1 => "ok"}, [INFO] [stdout] ... | [INFO] [stdout] 230 | | Token::RParen [INFO] [stdout] 231 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `match_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/frontend/lex.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | token += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | / match_tokens!( [INFO] [stdout] 234 | | ident_with_space, [INFO] [stdout] 235 | | "abc efghijklmno_pqrstuvwxyz _QWERTYUIOP ASDFGHJKL ZXCVBNM", [INFO] [stdout] ... | [INFO] [stdout] 247 | | Token::Ident(StrId(4)) [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `match_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/diagnostic.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileId(usize); [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FileId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `single_char` is never used [INFO] [stdout] --> src/common/diagnostic.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Span { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn single_char(s: usize, fid: FileId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/common/diagnostic.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_owned`, `with_annot_owned`, and `with_annot` are never used [INFO] [stdout] --> src/common/diagnostic.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Diagnostic { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn new_owned(ty: ErrorType, msg: String, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_annot_owned(mut self, msg: String, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_annot(mut self, msg: &'static str, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_owned` and `new` are never used [INFO] [stdout] --> src/common/diagnostic.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Annotation { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 110 | pub fn new_owned(msg: String, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn new(msg: &'static str, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/common/interner.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StrId { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | pub fn inner(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> src/common/interner.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Interner { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn with_capacity(cap: usize) -> Interner { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/frontend/ast.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/frontend/ast.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Expr {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/frontend/lex.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | Fn, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Case, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Do, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | [INFO] [stdout] 32 | String(StrId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Operator(StrId), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_operator` and `consume_until` are never used [INFO] [stdout] --> src/frontend/lex.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | fn is_operator(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn consume_until(&mut self, predicate: impl Fn(char) -> bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "a3749733c1fe70e0b15abedaf86c01c8b9704a512375fbffcaa96038034ae0e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3749733c1fe70e0b15abedaf86c01c8b9704a512375fbffcaa96038034ae0e0", kill_on_drop: false }` [INFO] [stdout] a3749733c1fe70e0b15abedaf86c01c8b9704a512375fbffcaa96038034ae0e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f094d2489fe29ecfe06d46aaf630852d29cf47a912a1cc098e5775010585d908 [INFO] running `Command { std: "docker" "start" "-a" "f094d2489fe29ecfe06d46aaf630852d29cf47a912a1cc098e5775010585d908", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `token` is never read [INFO] [stdout] [INFO] [stderr] --> src/frontend/lex.rs:205:25 [INFO] [stdout] running 5 tests [INFO] [stderr] | [INFO] [stdout] test frontend::lex::test_lexer::empty ... ok [INFO] [stderr] 205 | token += 1; [INFO] [stdout] test frontend::lex::test_lexer::ident_with_space ... ok [INFO] [stderr] | ^^^^^ [INFO] [stdout] test frontend::lex::test_lexer::paren ... ok [INFO] [stderr] ... [INFO] [stdout] test frontend::lex::test_lexer::paren_with_space ... ok [INFO] [stderr] 223 | / match_tokens!( [INFO] [stdout] test frontend::lex::test_lexer::atom_test ... ok [INFO] [stderr] 224 | | atom_test, [INFO] [stdout] [INFO] [stderr] 225 | | "(:testing ok)", [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 226 | | {0 => "testing", 1 => "ok"}, [INFO] [stdout] [INFO] [stderr] ... | [INFO] [stderr] 230 | | Token::RParen [INFO] [stderr] 231 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = note: this warning originates in the macro `match_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `token` is never read [INFO] [stderr] --> src/frontend/lex.rs:205:25 [INFO] [stderr] | [INFO] [stderr] 205 | token += 1; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 233 | / match_tokens!( [INFO] [stderr] 234 | | ident_with_space, [INFO] [stderr] 235 | | "abc efghijklmno_pqrstuvwxyz _QWERTYUIOP ASDFGHJKL ZXCVBNM", [INFO] [stderr] ... | [INFO] [stderr] 247 | | Token::Ident(StrId(4)) [INFO] [stderr] 248 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `match_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/common/diagnostic.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct FileId(usize); [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `FileId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `single_char` is never used [INFO] [stderr] --> src/common/diagnostic.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Span { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn single_char(s: usize, fid: FileId) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `span` is never read [INFO] [stderr] --> src/common/diagnostic.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Diagnostic { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 45 | span: Span, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Diagnostic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new_owned`, `with_annot_owned`, and `with_annot` are never used [INFO] [stderr] --> src/common/diagnostic.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 49 | impl Diagnostic { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn new_owned(ty: ErrorType, msg: String, span: Span) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn with_annot_owned(mut self, msg: String, span: Span) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn with_annot(mut self, msg: &'static str, span: Span) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new_owned` and `new` are never used [INFO] [stderr] --> src/common/diagnostic.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 109 | impl Annotation { [INFO] [stderr] | --------------- associated functions in this implementation [INFO] [stderr] 110 | pub fn new_owned(msg: String, span: Span) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn new(msg: &'static str, span: Span) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `inner` is never used [INFO] [stderr] --> src/common/interner.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl StrId { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 11 | pub fn inner(self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_capacity` is never used [INFO] [stderr] --> src/common/interner.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Interner { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 25 | pub fn with_capacity(cap: usize) -> Interner { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Statement` is never used [INFO] [stderr] --> src/frontend/ast.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Statement { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `Expr` is never used [INFO] [stderr] --> src/frontend/ast.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum Expr {} [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/frontend/lex.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum Token { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 22 | Equals, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 23 | Colon, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 24 | [INFO] [stderr] 25 | Fn, [INFO] [stderr] | ^^ [INFO] [stderr] 26 | End, [INFO] [stderr] | ^^^ [INFO] [stderr] 27 | Type, [INFO] [stderr] | ^^^^ [INFO] [stderr] 28 | Case, [INFO] [stderr] | ^^^^ [INFO] [stderr] 29 | Do, [INFO] [stderr] | ^^ [INFO] [stderr] 30 | Import, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 31 | [INFO] [stderr] 32 | String(StrId), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 33 | Operator(StrId), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `is_operator` and `consume_until` are never used [INFO] [stderr] --> src/frontend/lex.rs:105:8 [INFO] [stderr] | [INFO] [stderr] 49 | impl<'a> Lexer<'a> { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 105 | fn is_operator(c: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | fn consume_until(&mut self, predicate: impl Fn(char) -> bool) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fluoc` (bin "fluoc" test) generated 13 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/fluoc-412553f5395551d8) [INFO] running `Command { std: "docker" "inspect" "f094d2489fe29ecfe06d46aaf630852d29cf47a912a1cc098e5775010585d908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f094d2489fe29ecfe06d46aaf630852d29cf47a912a1cc098e5775010585d908", kill_on_drop: false }` [INFO] [stdout] f094d2489fe29ecfe06d46aaf630852d29cf47a912a1cc098e5775010585d908