[INFO] cloning repository https://github.com/b33j0r/stonkscheme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b33j0r/stonkscheme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb33j0r%2Fstonkscheme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb33j0r%2Fstonkscheme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae93ab7fab840e1044c5560ab6d4f12c66b1b34 [INFO] testing b33j0r/stonkscheme against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb33j0r%2Fstonkscheme" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/b33j0r/stonkscheme [INFO] finished tweaking git repo https://github.com/b33j0r/stonkscheme [INFO] tweaked toml for git repo https://github.com/b33j0r/stonkscheme written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/b33j0r/stonkscheme on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/b33j0r/stonkscheme 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.2 [INFO] [stderr] Downloaded const-oid v0.10.1 [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded tracing-error v0.2.1 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.4 [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded nom_locate v5.0.0 [INFO] [stderr] Downloaded eyre v0.6.12 [INFO] [stderr] Downloaded dashmap v7.0.0-rc2 [INFO] [stderr] Downloaded hybrid-array v0.3.0 [INFO] [stderr] Downloaded digest v0.11.0-pre.10 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.5 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded rustyline v15.0.0 [INFO] [stderr] Downloaded color-spantrace v0.2.1 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded color-eyre v0.6.3 [INFO] [stderr] Downloaded petgraph v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e55534559c4dcd773cbbd18a3c14110b0ffed58cb88bb50cd279a4c0f989a31 [INFO] running `Command { std: "docker" "start" "-a" "7e55534559c4dcd773cbbd18a3c14110b0ffed58cb88bb50cd279a4c0f989a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e55534559c4dcd773cbbd18a3c14110b0ffed58cb88bb50cd279a4c0f989a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e55534559c4dcd773cbbd18a3c14110b0ffed58cb88bb50cd279a4c0f989a31", kill_on_drop: false }` [INFO] [stdout] 7e55534559c4dcd773cbbd18a3c14110b0ffed58cb88bb50cd279a4c0f989a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6aae18e6825779f741abc58eef263d721db0ad7b35c9af1a82ecf4a9c45d4a4 [INFO] running `Command { std: "docker" "start" "-a" "e6aae18e6825779f741abc58eef263d721db0ad7b35c9af1a82ecf4a9c45d4a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling hybrid-array v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling const-oid v0.10.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.4 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.2 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling digest v0.11.0-pre.10 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling sha2 v0.11.0-pre.5 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling dashmap v7.0.0-rc2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling nom_locate v5.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling petgraph v0.8.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling stonkscheme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Comment`, `Boolean`, `String`, `Duration`, and `Timestamp` are never constructed [INFO] [stdout] --> src/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 22 | Nil, [INFO] [stdout] 23 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Float(f64), [INFO] [stdout] 28 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Duration(Duration), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Timestamp(Timestamp), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/parser.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn parse_file(path: &std::path::Path) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/code.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Code { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 36 | /// Load file, compute SHA, return *interned* Arc [INFO] [stdout] 37 | pub fn from_file(path: &Path) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/code.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Spanned { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 97 | pub value: T, [INFO] [stdout] 98 | pub span: CodeSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spanned` 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: variant `Unsigned` is never constructed [INFO] [stdout] --> src/interpreter.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Number { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 13 | Zero, [INFO] [stdout] 14 | Unsigned(u64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_child` is never used [INFO] [stdout] --> src/interpreter.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn clone_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | let fragment = span.fragment().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/code.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn span(arc: &Arc) -> ParserSpan { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn span(arc: &Arc) -> ParserSpan<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.86s [INFO] running `Command { std: "docker" "inspect" "e6aae18e6825779f741abc58eef263d721db0ad7b35c9af1a82ecf4a9c45d4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6aae18e6825779f741abc58eef263d721db0ad7b35c9af1a82ecf4a9c45d4a4", kill_on_drop: false }` [INFO] [stdout] e6aae18e6825779f741abc58eef263d721db0ad7b35c9af1a82ecf4a9c45d4a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad5470fd393cb430c63c05dffec43dc94203f5871f545ff8daeb2ac63146a47a [INFO] running `Command { std: "docker" "start" "-a" "ad5470fd393cb430c63c05dffec43dc94203f5871f545ff8daeb2ac63146a47a", kill_on_drop: false }` [INFO] [stderr] Compiling stonkscheme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Comment`, `Boolean`, `String`, `Duration`, and `Timestamp` are never constructed [INFO] [stdout] --> src/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 22 | Nil, [INFO] [stdout] 23 | Comment(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Float(f64), [INFO] [stdout] 28 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Duration(Duration), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Timestamp(Timestamp), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/parser.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn parse_file(path: &std::path::Path) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/code.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Code { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 36 | /// Load file, compute SHA, return *interned* Arc [INFO] [stdout] 37 | pub fn from_file(path: &Path) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unsigned` is never constructed [INFO] [stdout] --> src/interpreter.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Number { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 13 | Zero, [INFO] [stdout] 14 | Unsigned(u64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_child` is never used [INFO] [stdout] --> src/interpreter.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn clone_child(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | let fragment = span.fragment().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/code.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn span(arc: &Arc) -> ParserSpan { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn span(arc: &Arc) -> ParserSpan<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "ad5470fd393cb430c63c05dffec43dc94203f5871f545ff8daeb2ac63146a47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5470fd393cb430c63c05dffec43dc94203f5871f545ff8daeb2ac63146a47a", kill_on_drop: false }` [INFO] [stdout] ad5470fd393cb430c63c05dffec43dc94203f5871f545ff8daeb2ac63146a47a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54086637dc86fccc90cc9ce5ef8ca9d05da77705c6a36db96cddf68ff2a20f02 [INFO] running `Command { std: "docker" "start" "-a" "54086637dc86fccc90cc9ce5ef8ca9d05da77705c6a36db96cddf68ff2a20f02", kill_on_drop: false }` [INFO] [stderr] warning: variants `Comment`, `Boolean`, `String`, `Duration`, and `Timestamp` are never constructed [INFO] [stderr] --> src/ast.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum Expr { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 22 | Nil, [INFO] [stderr] 23 | Comment(String), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | Boolean(bool), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 27 | Float(f64), [INFO] [stderr] 28 | String(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | Duration(Duration), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 30 | Timestamp(Timestamp), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_file` is never used [INFO] [stderr] --> src/parser.rs:129:8 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn parse_file(path: &std::path::Path) -> Result, ParseError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_file` is never used [INFO] [stderr] --> src/code.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl Code { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 36 | /// Load file, compute SHA, return *interned* Arc [INFO] [stderr] 37 | pub fn from_file(path: &Path) -> std::io::Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Unsigned` is never constructed [INFO] [stderr] --> src/interpreter.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | enum Number { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 13 | Zero, [INFO] [stderr] 14 | Unsigned(u64), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clone_child` is never used [INFO] [stderr] --> src/interpreter.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Env { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn clone_child(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/parser.rs:79:43 [INFO] [stderr] | [INFO] [stderr] 79 | let fragment = span.fragment().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/code.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn span(arc: &Arc) -> ParserSpan { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 49 | pub fn span(arc: &Arc) -> ParserSpan<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `stonkscheme` (bin "stonkscheme" test) generated 7 warnings (run `cargo fix --bin "stonkscheme" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stonkscheme-e01616873dca0f8e) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test parser::tests::parses_combination ... ok [INFO] [stdout] test parser::tests::parses_integer ... ok [INFO] [stdout] test parser::tests::parses_operator ... ok [INFO] [stdout] test parser::tests::parses_float ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54086637dc86fccc90cc9ce5ef8ca9d05da77705c6a36db96cddf68ff2a20f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54086637dc86fccc90cc9ce5ef8ca9d05da77705c6a36db96cddf68ff2a20f02", kill_on_drop: false }` [INFO] [stdout] 54086637dc86fccc90cc9ce5ef8ca9d05da77705c6a36db96cddf68ff2a20f02