[INFO] cloning repository https://github.com/djanatyn/magic-broom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djanatyn/magic-broom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjanatyn%2Fmagic-broom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjanatyn%2Fmagic-broom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55e7c7b6df733549e1063d076eb157dde051f0f9 [INFO] testing djanatyn/magic-broom against try#5a3d3b91048a0adf280e7a4e589c1dda6443f172 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjanatyn%2Fmagic-broom" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djanatyn/magic-broom on toolchain 5a3d3b91048a0adf280e7a4e589c1dda6443f172 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/djanatyn/magic-broom [INFO] finished tweaking git repo https://github.com/djanatyn/magic-broom [INFO] tweaked toml for git repo https://github.com/djanatyn/magic-broom written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/djanatyn/magic-broom 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" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b21cb34376bd02822ca90506e8a7ea97104bef9331c923483dc7645d3c93d423 [INFO] running `Command { std: "docker" "start" "-a" "b21cb34376bd02822ca90506e8a7ea97104bef9331c923483dc7645d3c93d423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b21cb34376bd02822ca90506e8a7ea97104bef9331c923483dc7645d3c93d423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b21cb34376bd02822ca90506e8a7ea97104bef9331c923483dc7645d3c93d423", kill_on_drop: false }` [INFO] [stdout] b21cb34376bd02822ca90506e8a7ea97104bef9331c923483dc7645d3c93d423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfb381727d4224de9d5e80dcdbb992175e81b0d8a3ab50cdf0c01d8ab86de1af [INFO] running `Command { std: "docker" "start" "-a" "bfb381727d4224de9d5e80dcdbb992175e81b0d8a3ab50cdf0c01d8ab86de1af", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling chumsky v0.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling miette-derive v5.5.0 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling miette-derive v3.3.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling knuffel-derive v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling miette v4.7.1 [INFO] [stderr] Compiling miette v5.5.0 [INFO] [stderr] Compiling miette v3.3.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling kdl v4.6.0 [INFO] [stderr] Compiling knuffel v2.0.0 [INFO] [stderr] Compiling ganzu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/config.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn check(&self, file: &FileSnapshot) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> src/filter.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Filter::Regex(String) => false, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/filter.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn apply(&self, target: FileSnapshot) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXAMPLE_META` is never used [INFO] [stdout] --> src/kdl.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const EXAMPLE_META: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXAMPLE_MANIFEST` is never used [INFO] [stdout] --> src/kdl.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const EXAMPLE_MANIFEST: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `created` are never read [INFO] [stdout] --> src/kdl.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 23 | #[knuffel(property)] [INFO] [stdout] 24 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Meta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `matches` are never read [INFO] [stdout] --> src/kdl.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Doc { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 37 | #[knuffel(child)] [INFO] [stdout] 38 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | matches: Matches, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Doc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdl_exploration` is never used [INFO] [stdout] --> src/kdl.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn kdl_exploration() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `String` should have a snake case name [INFO] [stdout] --> src/filter.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Filter::Regex(String) => false, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kdl.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | dbg!(knuffel::parse::("example.kdl", &doc.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bin/ganzu.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let args = Args::parse(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "bfb381727d4224de9d5e80dcdbb992175e81b0d8a3ab50cdf0c01d8ab86de1af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb381727d4224de9d5e80dcdbb992175e81b0d8a3ab50cdf0c01d8ab86de1af", kill_on_drop: false }` [INFO] [stdout] bfb381727d4224de9d5e80dcdbb992175e81b0d8a3ab50cdf0c01d8ab86de1af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 351cc6cd89ac1415c229293573008d4404c866af998aded272ddad99b4da2980 [INFO] running `Command { std: "docker" "start" "-a" "351cc6cd89ac1415c229293573008d4404c866af998aded272ddad99b4da2980", kill_on_drop: false }` [INFO] [stderr] Compiling ganzu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/config.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn check(&self, file: &FileSnapshot) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> src/filter.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Filter::Regex(String) => false, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/filter.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn apply(&self, target: FileSnapshot) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXAMPLE_META` is never used [INFO] [stdout] --> src/kdl.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const EXAMPLE_META: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXAMPLE_MANIFEST` is never used [INFO] [stdout] --> src/kdl.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const EXAMPLE_MANIFEST: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `created` are never read [INFO] [stdout] --> src/kdl.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 23 | #[knuffel(property)] [INFO] [stdout] 24 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Meta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `matches` are never read [INFO] [stdout] --> src/kdl.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Doc { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 37 | #[knuffel(child)] [INFO] [stdout] 38 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | matches: Matches, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Doc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdl_exploration` is never used [INFO] [stdout] --> src/kdl.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn kdl_exploration() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `String` should have a snake case name [INFO] [stdout] --> src/filter.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Filter::Regex(String) => false, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kdl.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | dbg!(knuffel::parse::("example.kdl", &doc.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bin/ganzu.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let args = Args::parse(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/config.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn check(&self, file: &FileSnapshot) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> src/filter.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Filter::Regex(String) => false, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/filter.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn apply(&self, target: FileSnapshot) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `created` are never read [INFO] [stdout] --> src/kdl.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 23 | #[knuffel(property)] [INFO] [stdout] 24 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Meta` has a derived impl for the trait `Debug`, 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: fields `meta` and `matches` are never read [INFO] [stdout] --> src/kdl.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Doc { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 37 | #[knuffel(child)] [INFO] [stdout] 38 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | matches: Matches, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Doc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kdl_exploration` is never used [INFO] [stdout] --> src/kdl.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn kdl_exploration() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `String` should have a snake case name [INFO] [stdout] --> src/filter.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Filter::Regex(String) => false, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kdl.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | dbg!(knuffel::parse::("example.kdl", &doc.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ganzu` (lib test); 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/5a3d3b91048a0adf280e7a4e589c1dda6443f172/bin/rustc --crate-name ganzu --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=dc5a1b6bdecc53e6 -C extra-filename=-dc5a1b6bdecc53e6 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-8f4db176028aa4d6.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-1deea46e2ed568b2.rlib --extern kdl=/opt/rustwide/target/debug/deps/libkdl-2b6438428a982146.rlib --extern knuffel=/opt/rustwide/target/debug/deps/libknuffel-eaab8cdfad416f26.rlib --extern miette=/opt/rustwide/target/debug/deps/libmiette-c3a165a7512a9945.rlib --extern nix=/opt/rustwide/target/debug/deps/libnix-52fb0209acce6b8b.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-bcf18e8fa155de53.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-c3617c8897f29d82.rlib --extern tree_magic=/opt/rustwide/target/debug/deps/libtree_magic-3beb3e4e54fa80fd.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "351cc6cd89ac1415c229293573008d4404c866af998aded272ddad99b4da2980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351cc6cd89ac1415c229293573008d4404c866af998aded272ddad99b4da2980", kill_on_drop: false }` [INFO] [stdout] 351cc6cd89ac1415c229293573008d4404c866af998aded272ddad99b4da2980