[INFO] cloning repository https://github.com/molor824/saran-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/molor824/saran-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolor824%2Fsaran-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolor824%2Fsaran-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d090b2bdbfa6366d9d936f7d1e06380fbb78fdeb [INFO] testing molor824/saran-lang against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolor824%2Fsaran-lang" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/molor824/saran-lang on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/molor824/saran-lang [INFO] finished tweaking git repo https://github.com/molor824/saran-lang [INFO] tweaked toml for git repo https://github.com/molor824/saran-lang written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/molor824/saran-lang 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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12632b32ac9028aaf74ae047cabe96bd6f24aff55a5c23b5f2069c2da7b186e4 [INFO] running `Command { std: "docker" "start" "-a" "12632b32ac9028aaf74ae047cabe96bd6f24aff55a5c23b5f2069c2da7b186e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12632b32ac9028aaf74ae047cabe96bd6f24aff55a5c23b5f2069c2da7b186e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12632b32ac9028aaf74ae047cabe96bd6f24aff55a5c23b5f2069c2da7b186e4", kill_on_drop: false }` [INFO] [stdout] 12632b32ac9028aaf74ae047cabe96bd6f24aff55a5c23b5f2069c2da7b186e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9e7b957e0db61f8506eae05754bc0d6355ee27f89ebb2d57b5bc9c7788c7b97 [INFO] running `Command { std: "docker" "start" "-a" "f9e7b957e0db61f8506eae05754bc0d6355ee27f89ebb2d57b5bc9c7788c7b97", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling saran-compiler v0.1.0 (/opt/rustwide/workdir/saran-compiler) [INFO] [stdout] warning: fields `source` and `iter` are never read [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | iter: CharIndices<'static>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `source`, `iter`, `next`, and `next_if` are never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Source { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(source: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn source(&self) -> &Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn iter(&self) -> &CharIndices<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn next() -> impl Parser> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn next_if(condition: impl FnOnce(char) -> bool) -> impl Parser> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map`, `then`, and `or` are never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait Parser { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 52 | fn parse(self, source: Source) -> Result; [INFO] [stdout] 53 | fn map(self, func: impl FnOnce(O) -> O1) -> impl Parser; [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | fn then>(self, func: impl FnOnce(O) -> P1) -> impl Parser; [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | fn or>(self, func: impl FnOnce() -> P1) -> impl Parser; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold` is never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn fold, O>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold_until` is never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn fold_until, O>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce` is never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn reduce, O>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `source` are never read [INFO] [stdout] --> saran-compiler/src/parser/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | message: SpanOf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> saran-compiler/src/parser/error.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 11 | pub const fn new(message: SpanOf, source: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_str` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn match_str(value: &'static str) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_comment` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn line_comment() -> impl Parser<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_comment` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn block_comment() -> impl Parser<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespaces` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn whitespaces() -> impl Parser<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skip` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn skip() -> impl Parser<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_ident_ch` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn first_ident_ch() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident_ch` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn ident_ch() -> impl Parser { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident_prime_ch` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn ident_prime_ch() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn ident() -> impl Parser> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> saran-compiler/src/parser/span.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Span(pub usize, pub usize); [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Span` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `concat` and `range` are never used [INFO] [stdout] --> saran-compiler/src/parser/span.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Span { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 4 | pub fn concat(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub const fn range(self) -> std::ops::Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `span` are never read [INFO] [stdout] --> saran-compiler/src/parser/span.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpanOf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | pub value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpanOf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `combine` are never used [INFO] [stdout] --> saran-compiler/src/parser/span.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl SpanOf { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub const fn new(value: T, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn combine(self, other: SpanOf, func: impl FnOnce(T, T1) -> O) -> SpanOf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "f9e7b957e0db61f8506eae05754bc0d6355ee27f89ebb2d57b5bc9c7788c7b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e7b957e0db61f8506eae05754bc0d6355ee27f89ebb2d57b5bc9c7788c7b97", kill_on_drop: false }` [INFO] [stdout] f9e7b957e0db61f8506eae05754bc0d6355ee27f89ebb2d57b5bc9c7788c7b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23ba3b3139e8752ebc616504f831d4227ff2f5db88260f5bfddb22fc8b1bdb4c [INFO] running `Command { std: "docker" "start" "-a" "23ba3b3139e8752ebc616504f831d4227ff2f5db88260f5bfddb22fc8b1bdb4c", kill_on_drop: false }` [INFO] [stdout] warning: fields `source` and `iter` are never read [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | iter: CharIndices<'static>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `source`, `iter`, `next`, and `next_if` are never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Source { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(source: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn source(&self) -> &Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn iter(&self) -> &CharIndices<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn next() -> impl Parser> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn next_if(condition: impl FnOnce(char) -> bool) -> impl Parser> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map`, `then`, and `or` are never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait Parser { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 52 | fn parse(self, source: Source) -> Result; [INFO] [stdout] 53 | fn map(self, func: impl FnOnce(O) -> O1) -> impl Parser; [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | fn then>(self, func: impl FnOnce(O) -> P1) -> impl Parser; [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | fn or>(self, func: impl FnOnce() -> P1) -> impl Parser; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold` is never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn fold, O>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold_until` is never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn fold_until, O>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reduce` is never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn reduce, O>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `source` are never read [INFO] [stdout] --> saran-compiler/src/parser/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | message: SpanOf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> saran-compiler/src/parser/error.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 11 | pub const fn new(message: SpanOf, source: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_str` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn match_str(value: &'static str) -> impl Parser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling saran-compiler v0.1.0 (/opt/rustwide/workdir/saran-compiler) [INFO] [stdout] warning: function `line_comment` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn line_comment() -> impl Parser<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_comment` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn block_comment() -> impl Parser<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespaces` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn whitespaces() -> impl Parser<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skip` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn skip() -> impl Parser<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_ident_ch` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn first_ident_ch() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident_ch` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn ident_ch() -> impl Parser { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident_prime_ch` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn ident_prime_ch() -> impl Parser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident` is never used [INFO] [stdout] --> saran-compiler/src/parser/literal.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn ident() -> impl Parser> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> saran-compiler/src/parser/span.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Span(pub usize, pub usize); [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Span` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `concat` and `range` are never used [INFO] [stdout] --> saran-compiler/src/parser/span.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Span { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 4 | pub fn concat(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub const fn range(self) -> std::ops::Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `span` are never read [INFO] [stdout] --> saran-compiler/src/parser/span.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpanOf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | pub value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpanOf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `combine` are never used [INFO] [stdout] --> saran-compiler/src/parser/span.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl SpanOf { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub const fn new(value: T, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn combine(self, other: SpanOf, func: impl FnOnce(T, T1) -> O) -> SpanOf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> saran-compiler/src/parser/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Source { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn iter(&self) -> &CharIndices<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `source` are never read [INFO] [stdout] --> saran-compiler/src/parser/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | message: SpanOf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> saran-compiler/src/parser/error.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 11 | pub const fn new(message: SpanOf, source: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> saran-compiler/src/parser/span.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SpanOf { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn combine(self, other: SpanOf, func: impl FnOnce(T, T1) -> O) -> SpanOf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "23ba3b3139e8752ebc616504f831d4227ff2f5db88260f5bfddb22fc8b1bdb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ba3b3139e8752ebc616504f831d4227ff2f5db88260f5bfddb22fc8b1bdb4c", kill_on_drop: false }` [INFO] [stdout] 23ba3b3139e8752ebc616504f831d4227ff2f5db88260f5bfddb22fc8b1bdb4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16c7d221fcf43312948a3989aa1808aa84e074dbf11fa2e9236a6f0873efa0ca [INFO] running `Command { std: "docker" "start" "-a" "16c7d221fcf43312948a3989aa1808aa84e074dbf11fa2e9236a6f0873efa0ca", kill_on_drop: false }` [INFO] [stderr] warning: fields `source` and `iter` are never read [INFO] [stderr] --> saran-compiler/src/parser/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Source { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 12 | source: Rc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 13 | iter: CharIndices<'static>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Source` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `source`, `iter`, `next`, and `next_if` are never used [INFO] [stderr] --> saran-compiler/src/parser/mod.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl Source { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 16 | pub fn new(source: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn source(&self) -> &Rc { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn iter(&self) -> &CharIndices<'static> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn next() -> impl Parser> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn next_if(condition: impl FnOnce(char) -> bool) -> impl Parser> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `map`, `then`, and `or` are never used [INFO] [stderr] --> saran-compiler/src/parser/mod.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub trait Parser { [INFO] [stderr] | ------ methods in this trait [INFO] [stderr] 52 | fn parse(self, source: Source) -> Result; [INFO] [stderr] 53 | fn map(self, func: impl FnOnce(O) -> O1) -> impl Parser; [INFO] [stderr] | ^^^ [INFO] [stderr] 54 | fn then>(self, func: impl FnOnce(O) -> P1) -> impl Parser; [INFO] [stderr] | ^^^^ [INFO] [stderr] 55 | fn or>(self, func: impl FnOnce() -> P1) -> impl Parser; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `fold` is never used [INFO] [stderr] --> saran-compiler/src/parser/mod.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn fold, O>( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fold_until` is never used [INFO] [stderr] --> saran-compiler/src/parser/mod.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn fold_until, O>( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `reduce` is never used [INFO] [stderr] --> saran-compiler/src/parser/mod.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn reduce, O>( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `message` and `source` are never read [INFO] [stderr] --> saran-compiler/src/parser/error.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Error { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 7 | message: SpanOf, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 8 | source: Rc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> saran-compiler/src/parser/error.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl Error { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 11 | pub const fn new(message: SpanOf, source: Rc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `match_str` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn match_str(value: &'static str) -> impl Parser { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `line_comment` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn line_comment() -> impl Parser<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `block_comment` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | fn block_comment() -> impl Parser<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `whitespaces` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn whitespaces() -> impl Parser<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `skip` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | fn skip() -> impl Parser<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `first_ident_ch` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn first_ident_ch() -> impl Parser { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ident_ch` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | fn ident_ch() -> impl Parser { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ident_prime_ch` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn ident_prime_ch() -> impl Parser { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ident` is never used [INFO] [stderr] --> saran-compiler/src/parser/literal.rs:67:4 [INFO] [stderr] | [INFO] [stderr] 67 | fn ident() -> impl Parser> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> saran-compiler/src/parser/span.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Span(pub usize, pub usize); [INFO] [stderr] | ---- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] = note: `Span` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `concat` and `range` are never used [INFO] [stderr] --> saran-compiler/src/parser/span.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 3 | impl Span { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] 4 | pub fn concat(self, other: Self) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | pub const fn range(self) -> std::ops::Range { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `value` and `span` are never read [INFO] [stderr] --> saran-compiler/src/parser/span.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct SpanOf { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 14 | pub value: T, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | pub span: Span, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SpanOf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `combine` are never used [INFO] [stderr] --> saran-compiler/src/parser/span.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 17 | impl SpanOf { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 18 | pub const fn new(value: T, span: Span) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn combine(self, other: SpanOf, func: impl FnOnce(T, T1) -> O) -> SpanOf { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `iter` is never used [INFO] [stderr] --> saran-compiler/src/parser/mod.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl Source { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn iter(&self) -> &CharIndices<'static> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `combine` is never used [INFO] [stderr] --> saran-compiler/src/parser/span.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl SpanOf { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn combine(self, other: SpanOf, func: impl FnOnce(T, T1) -> O) -> SpanOf { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `saran-compiler` (lib) generated 21 warnings [INFO] [stderr] warning: `saran-compiler` (lib test) generated 4 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/saran_compiler-5871df0401956ac5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parser::literal::tests::test_ident ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests saran_compiler [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "16c7d221fcf43312948a3989aa1808aa84e074dbf11fa2e9236a6f0873efa0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c7d221fcf43312948a3989aa1808aa84e074dbf11fa2e9236a6f0873efa0ca", kill_on_drop: false }` [INFO] [stdout] 16c7d221fcf43312948a3989aa1808aa84e074dbf11fa2e9236a6f0873efa0ca