[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 master#23949593103d03a82c7ebc2e84434ce6c6edc561 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djanatyn/magic-broom on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "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-tc1/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" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded knuffel v2.0.0 [INFO] [stderr] Downloaded miette-derive v3.3.0 [INFO] [stderr] Downloaded knuffel-derive v2.0.0 [INFO] [stderr] Downloaded miette-derive v5.5.0 [INFO] [stderr] Downloaded clap_derive v3.1.4 [INFO] [stderr] Downloaded miette v5.5.0 [INFO] [stderr] Downloaded miette v3.3.0 [INFO] [stderr] Downloaded kdl v4.6.0 [INFO] [stderr] Downloaded tree_magic v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 488c6e1c43f3379a220d7635b6eedff5c35f84aae0ac4cd1cdbae877939b08bd [INFO] running `Command { std: "docker" "start" "-a" "488c6e1c43f3379a220d7635b6eedff5c35f84aae0ac4cd1cdbae877939b08bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "488c6e1c43f3379a220d7635b6eedff5c35f84aae0ac4cd1cdbae877939b08bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "488c6e1c43f3379a220d7635b6eedff5c35f84aae0ac4cd1cdbae877939b08bd", kill_on_drop: false }` [INFO] [stdout] 488c6e1c43f3379a220d7635b6eedff5c35f84aae0ac4cd1cdbae877939b08bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0060ef65fa36c6fa862bad9f5eb9640f5a81a2842ad08dc2fcb86386ead65ce [INFO] running `Command { std: "docker" "start" "-a" "d0060ef65fa36c6fa862bad9f5eb9640f5a81a2842ad08dc2fcb86386ead65ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling unicode-width v0.1.9 [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 heck v0.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling adler v1.0.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 memchr v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling chumsky v0.8.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling owo-colors v3.4.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 knuffel-derive v2.0.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling textwrap v0.14.2 [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 knuffel v2.0.0 [INFO] [stderr] Compiling kdl v4.6.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 13.17s [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" "d0060ef65fa36c6fa862bad9f5eb9640f5a81a2842ad08dc2fcb86386ead65ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0060ef65fa36c6fa862bad9f5eb9640f5a81a2842ad08dc2fcb86386ead65ce", kill_on_drop: false }` [INFO] [stdout] d0060ef65fa36c6fa862bad9f5eb9640f5a81a2842ad08dc2fcb86386ead65ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c69ca58c2cc180c16ecac8de30edd6ca12d61ef1c1b81d4ecba21eb65450d939 [INFO] running `Command { std: "docker" "start" "-a" "c69ca58c2cc180c16ecac8de30edd6ca12d61ef1c1b81d4ecba21eb65450d939", kill_on_drop: false }` [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] [stderr] Compiling ganzu v0.1.0 (/opt/rustwide/workdir) [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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.27s [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" "c69ca58c2cc180c16ecac8de30edd6ca12d61ef1c1b81d4ecba21eb65450d939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69ca58c2cc180c16ecac8de30edd6ca12d61ef1c1b81d4ecba21eb65450d939", kill_on_drop: false }` [INFO] [stdout] c69ca58c2cc180c16ecac8de30edd6ca12d61ef1c1b81d4ecba21eb65450d939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e221c7d7e63f83f4b756cb7e98dbeba8e347db5de5e92653c409a452ee8e34b8 [INFO] running `Command { std: "docker" "start" "-a" "e221c7d7e63f83f4b756cb7e98dbeba8e347db5de5e92653c409a452ee8e34b8", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/config.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn check(&self, file: &FileSnapshot) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `String` [INFO] [stderr] --> src/filter.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | Filter::Regex(String) => false, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/filter.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn apply(&self, target: FileSnapshot) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: constant `EXAMPLE_META` is never used [INFO] [stderr] --> src/kdl.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | const EXAMPLE_META: &'static str = r#" [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `EXAMPLE_MANIFEST` is never used [INFO] [stderr] --> src/kdl.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | const EXAMPLE_MANIFEST: &'static str = r#" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `version` and `created` are never read [INFO] [stderr] --> src/kdl.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Meta { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 23 | #[knuffel(property)] [INFO] [stderr] 24 | version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | created: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Meta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `meta` and `matches` are never read [INFO] [stderr] --> src/kdl.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Doc { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 37 | #[knuffel(child)] [INFO] [stderr] 38 | meta: Meta, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | matches: Matches, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Doc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `kdl_exploration` is never used [INFO] [stderr] --> src/kdl.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn kdl_exploration() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `String` should have a snake case name [INFO] [stderr] --> src/filter.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | Filter::Regex(String) => false, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/kdl.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | dbg!(knuffel::parse::("example.kdl", &doc.to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `version` and `created` are never read [INFO] [stderr] --> src/kdl.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Meta { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 23 | #[knuffel(property)] [INFO] [stderr] 24 | version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | created: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Meta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ganzu` (lib) generated 10 warnings (run `cargo fix --lib -p ganzu` to apply 3 suggestions) [INFO] [stderr] warning: `ganzu` (lib test) generated 8 warnings (7 duplicates) [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/bin/ganzu.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let args = Args::parse(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ganzu` (bin "ganzu" test) generated 1 warning (run `cargo fix --bin "ganzu" --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ganzu-dc5a1b6bdecc53e6) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test kdl::tests::parse_example_meta ... ok [INFO] [stdout] test kdl::tests::parse_example_manifest_kdl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/ganzu.rs (/opt/rustwide/target/debug/deps/ganzu-546aa4f3e231fab5) [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] [stderr] Doc-tests ganzu [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" "e221c7d7e63f83f4b756cb7e98dbeba8e347db5de5e92653c409a452ee8e34b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e221c7d7e63f83f4b756cb7e98dbeba8e347db5de5e92653c409a452ee8e34b8", kill_on_drop: false }` [INFO] [stdout] e221c7d7e63f83f4b756cb7e98dbeba8e347db5de5e92653c409a452ee8e34b8