[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] 83209299f3e864bd407d264aa132fea92632bee9 [INFO] testing djanatyn/magic-broom against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjanatyn%2Fmagic-broom" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djanatyn/magic-broom on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "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-4-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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miette v3.3.0 [INFO] [stderr] Downloaded miette-derive v4.7.1 [INFO] [stderr] Downloaded knuffel v2.0.0 [INFO] [stderr] Downloaded miette-derive v3.3.0 [INFO] [stderr] Downloaded miette v4.7.1 [INFO] [stderr] Downloaded knuffel-derive v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04aec5724f4b8bcd58e002fdf17ff73373c0462a0a4269a6bc2421cba35b8b10 [INFO] running `Command { std: "docker" "start" "-a" "04aec5724f4b8bcd58e002fdf17ff73373c0462a0a4269a6bc2421cba35b8b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04aec5724f4b8bcd58e002fdf17ff73373c0462a0a4269a6bc2421cba35b8b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04aec5724f4b8bcd58e002fdf17ff73373c0462a0a4269a6bc2421cba35b8b10", kill_on_drop: false }` [INFO] [stdout] 04aec5724f4b8bcd58e002fdf17ff73373c0462a0a4269a6bc2421cba35b8b10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a85140774d80365543cdc77986c97adecfbf6746c2f6b799e7ac7a4be8799d3 [INFO] running `Command { std: "docker" "start" "-a" "6a85140774d80365543cdc77986c97adecfbf6746c2f6b799e7ac7a4be8799d3", kill_on_drop: false }` [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 autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling chumsky v0.8.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex v1.6.0 [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 terminal_size v0.1.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling miette-derive v5.5.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling knuffel-derive v2.0.0 [INFO] [stderr] Compiling miette-derive v3.3.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling miette v5.5.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling miette v3.3.0 [INFO] [stderr] Compiling miette v4.7.1 [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:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | 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:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | 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:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 37 | #[knuffel(property)] [INFO] [stdout] 38 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | 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: field `0` is never read [INFO] [stdout] --> src/kdl.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | Meta(Meta), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - Meta(Meta), [INFO] [stdout] 46 + Meta(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `matches` are never read [INFO] [stdout] --> src/kdl.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Doc { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 51 | #[knuffel(child)] [INFO] [stdout] 52 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | 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:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | 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:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.16s [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" "6a85140774d80365543cdc77986c97adecfbf6746c2f6b799e7ac7a4be8799d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a85140774d80365543cdc77986c97adecfbf6746c2f6b799e7ac7a4be8799d3", kill_on_drop: false }` [INFO] [stdout] 6a85140774d80365543cdc77986c97adecfbf6746c2f6b799e7ac7a4be8799d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a17987d73095c0e9e6b680813a3dd0071312643a72fb52f9605958973eb2eb68 [INFO] running `Command { std: "docker" "start" "-a" "a17987d73095c0e9e6b680813a3dd0071312643a72fb52f9605958973eb2eb68", 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:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | 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:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | 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:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 37 | #[knuffel(property)] [INFO] [stdout] 38 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | 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: field `0` is never read [INFO] [stdout] --> src/kdl.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | Meta(Meta), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - Meta(Meta), [INFO] [stdout] 46 + Meta(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `matches` are never read [INFO] [stdout] --> src/kdl.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Doc { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 51 | #[knuffel(child)] [INFO] [stdout] 52 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | 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:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | 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:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | 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: 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:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 37 | #[knuffel(property)] [INFO] [stdout] 38 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | 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: field `0` is never read [INFO] [stdout] --> src/kdl.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | Meta(Meta), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TopLevelNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - Meta(Meta), [INFO] [stdout] 46 + Meta(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `matches` are never read [INFO] [stdout] --> src/kdl.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Doc { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 51 | #[knuffel(child)] [INFO] [stdout] 52 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | 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:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | 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:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.31s [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" "a17987d73095c0e9e6b680813a3dd0071312643a72fb52f9605958973eb2eb68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a17987d73095c0e9e6b680813a3dd0071312643a72fb52f9605958973eb2eb68", kill_on_drop: false }` [INFO] [stdout] a17987d73095c0e9e6b680813a3dd0071312643a72fb52f9605958973eb2eb68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd8738182fe315a5a9b4171655dab01d3f47502958bbab4f5ec3d2e42a6981ff [INFO] running `Command { std: "docker" "start" "-a" "bd8738182fe315a5a9b4171655dab01d3f47502958bbab4f5ec3d2e42a6981ff", 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:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | 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:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | 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:38:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Meta { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 37 | #[knuffel(property)] [INFO] [stderr] 38 | version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | 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: field `0` is never read [INFO] [stderr] --> src/kdl.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | Meta(Meta), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `TopLevelNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 46 - Meta(Meta), [INFO] [stderr] 46 + Meta(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `meta` and `matches` are never read [INFO] [stderr] --> src/kdl.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct Doc { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 51 | #[knuffel(child)] [INFO] [stderr] 52 | meta: Meta, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | 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:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | 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:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | 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:38:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Meta { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 37 | #[knuffel(property)] [INFO] [stderr] 38 | version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | 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 11 warnings [INFO] [stderr] warning: `ganzu` (lib test) generated 9 warnings (8 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 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [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-f307839cf5321cfc) [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.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/ganzu.rs (/opt/rustwide/target/debug/deps/ganzu-1dfdedf894ab6e0c) [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" "bd8738182fe315a5a9b4171655dab01d3f47502958bbab4f5ec3d2e42a6981ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd8738182fe315a5a9b4171655dab01d3f47502958bbab4f5ec3d2e42a6981ff", kill_on_drop: false }` [INFO] [stdout] bd8738182fe315a5a9b4171655dab01d3f47502958bbab4f5ec3d2e42a6981ff