[INFO] cloning repository https://github.com/GuyTeichman/BAMetrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GuyTeichman/BAMetrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuyTeichman%2FBAMetrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuyTeichman%2FBAMetrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8456aa97e325ceaf5e0b7d988cf746fe2afd132 [INFO] testing GuyTeichman/BAMetrics/f8456aa97e325ceaf5e0b7d988cf746fe2afd132 against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuyTeichman%2FBAMetrics" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GuyTeichman/BAMetrics on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GuyTeichman/BAMetrics [INFO] finished tweaking git repo https://github.com/GuyTeichman/BAMetrics [INFO] tweaked toml for git repo https://github.com/GuyTeichman/BAMetrics written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GuyTeichman/BAMetrics 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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] [stderr] Adding adler2 v2.0.0 [INFO] [stderr] Adding android-tzdata v0.1.1 [INFO] [stderr] Adding android_system_properties v0.1.5 [INFO] [stderr] Updating anstream v0.6.4 -> v0.6.15 [INFO] [stderr] Updating anstyle v1.0.4 -> v1.0.8 [INFO] [stderr] Adding arbitrary v1.3.2 [INFO] [stderr] Adding bitflags v2.6.0 [INFO] [stderr] Adding block-buffer v0.10.4 [INFO] [stderr] Adding bstr v1.10.0 [INFO] [stderr] Adding bumpalo v3.16.0 [INFO] [stderr] Adding bytecount v0.6.8 [INFO] [stderr] Adding cc v1.1.31 [INFO] [stderr] Adding cfb v0.7.3 [INFO] [stderr] Adding chrono v0.4.38 [INFO] [stderr] Adding chrono-tz v0.9.0 [INFO] [stderr] Adding chrono-tz-build v0.3.0 [INFO] [stderr] Updating clap v4.4.7 -> v4.5.20 [INFO] [stderr] Updating clap_builder v4.4.7 -> v4.5.20 [INFO] [stderr] Updating clap_derive v4.4.7 -> v4.5.18 [INFO] [stderr] Updating clap_lex v0.6.0 -> v0.7.2 [INFO] [stderr] Adding core-foundation-sys v0.8.7 [INFO] [stderr] Adding cpp_demangle v0.4.4 [INFO] [stderr] Adding cpufeatures v0.2.14 [INFO] [stderr] Updating crc32fast v1.3.2 -> v1.4.2 [INFO] [stderr] Adding crossbeam-channel v0.5.13 [INFO] [stderr] Adding crossbeam-deque v0.8.5 [INFO] [stderr] Adding crossbeam-epoch v0.9.18 [INFO] [stderr] Adding crossbeam-utils v0.8.20 [INFO] [stderr] Adding crypto-common v0.1.6 [INFO] [stderr] Adding debugid v0.8.0 [INFO] [stderr] Adding deranged v0.3.11 [INFO] [stderr] Adding derive_arbitrary v1.3.2 [INFO] [stderr] Adding deunicode v1.6.0 [INFO] [stderr] Adding digest v0.10.7 [INFO] [stderr] Adding displaydoc v0.2.5 [INFO] [stderr] Adding either v1.13.0 [INFO] [stderr] Adding equivalent v1.0.1 [INFO] [stderr] Adding errno v0.3.9 [INFO] [stderr] Adding fastrand v2.1.1 [INFO] [stderr] Updating flate2 v1.0.28 -> v1.0.34 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding generic-array v0.14.7 [INFO] [stderr] Adding getrandom v0.2.15 [INFO] [stderr] Adding globset v0.4.15 [INFO] [stderr] Adding globwalk v0.9.1 [INFO] [stderr] Adding grcov v0.8.20 [INFO] [stderr] Adding hashbrown v0.15.0 [INFO] [stderr] Adding heck v0.5.0 [INFO] [stderr] Adding hermit-abi v0.3.9 [INFO] [stderr] Adding humansize v2.1.3 [INFO] [stderr] Adding iana-time-zone v0.1.61 [INFO] [stderr] Adding iana-time-zone-haiku v0.1.2 [INFO] [stderr] Adding ignore v0.4.23 [INFO] [stderr] Adding indexmap v2.6.0 [INFO] [stderr] Adding infer v0.16.0 [INFO] [stderr] Adding is_terminal_polyfill v1.70.1 [INFO] [stderr] Adding js-sys v0.3.72 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding libc v0.2.161 [INFO] [stderr] Adding libm v0.2.8 [INFO] [stderr] Adding libz-sys v1.1.20 [INFO] [stderr] Adding linux-raw-sys v0.4.14 [INFO] [stderr] Adding log v0.4.22 [INFO] [stderr] Adding md-5 v0.10.6 [INFO] [stderr] Updating memchr v2.6.4 -> v2.7.4 [INFO] [stderr] Adding memmap2 v0.9.5 [INFO] [stderr] Updating miniz_oxide v0.7.1 -> v0.8.0 [INFO] [stderr] Adding msvc-demangler v0.10.1 [INFO] [stderr] Adding num-conv v0.1.0 [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding num_cpus v1.16.0 [INFO] [stderr] Adding num_threads v0.1.7 [INFO] [stderr] Updating once_cell v1.18.0 -> v1.20.2 [INFO] [stderr] Adding papergrid v0.12.0 [INFO] [stderr] Adding parse-zoneinfo v0.3.1 [INFO] [stderr] Adding percent-encoding v2.3.1 [INFO] [stderr] Adding pest v2.7.14 [INFO] [stderr] Adding pest_derive v2.7.14 [INFO] [stderr] Adding pest_generator v2.7.14 [INFO] [stderr] Adding pest_meta v2.7.14 [INFO] [stderr] Adding phf v0.11.2 [INFO] [stderr] Adding phf_codegen v0.11.2 [INFO] [stderr] Adding phf_generator v0.11.2 [INFO] [stderr] Adding phf_shared v0.11.2 [INFO] [stderr] Adding pkg-config v0.3.31 [INFO] [stderr] Adding powerfmt v0.2.0 [INFO] [stderr] Adding ppv-lite86 v0.2.20 [INFO] [stderr] Adding proc-macro-error v1.0.4 [INFO] [stderr] Adding proc-macro-error-attr v1.0.4 [INFO] [stderr] Updating proc-macro2 v1.0.69 -> v1.0.88 [INFO] [stderr] Adding quick-xml v0.36.2 [INFO] [stderr] Updating quote v1.0.33 -> v1.0.37 [INFO] [stderr] Adding rand v0.8.5 [INFO] [stderr] Adding rand_chacha v0.3.1 [INFO] [stderr] Adding rand_core v0.6.4 [INFO] [stderr] Adding rayon v1.10.0 [INFO] [stderr] Adding rayon-core v1.12.1 [INFO] [stderr] Updating regex v1.10.2 -> v1.11.0 [INFO] [stderr] Updating regex-automata v0.4.3 -> v0.4.8 [INFO] [stderr] Updating regex-syntax v0.8.2 -> v0.8.5 [INFO] [stderr] Adding rustc-demangle v0.1.24 [INFO] [stderr] Adding rustc-hash v2.0.0 [INFO] [stderr] Adding rustix v0.38.37 [INFO] [stderr] Adding same-file v1.0.6 [INFO] [stderr] Adding sha2 v0.10.8 [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding simplelog v0.12.2 [INFO] [stderr] Adding siphasher v0.3.11 [INFO] [stderr] Adding slug v0.1.6 [INFO] [stderr] Adding smallvec v1.13.2 [INFO] [stderr] Adding stable_deref_trait v1.2.0 [INFO] [stderr] Updating strsim v0.10.0 -> v0.11.1 [INFO] [stderr] Adding symbolic-common v12.12.0 [INFO] [stderr] Adding symbolic-demangle v12.12.0 [INFO] [stderr] Adding syn v1.0.109 [INFO] [stderr] Adding syn v2.0.82 [INFO] [stderr] Adding tabled v0.16.0 [INFO] [stderr] Adding tabled_derive v0.8.0 [INFO] [stderr] Adding tempfile v3.13.0 [INFO] [stderr] Adding tera v1.20.0 [INFO] [stderr] Adding termcolor v1.4.1 [INFO] [stderr] Adding terminal_size v0.4.0 [INFO] [stderr] Adding thiserror v1.0.64 [INFO] [stderr] Adding thiserror-impl v1.0.64 [INFO] [stderr] Adding time v0.3.36 [INFO] [stderr] Adding time-core v0.1.2 [INFO] [stderr] Adding time-macros v0.2.18 [INFO] [stderr] Adding typenum v1.17.0 [INFO] [stderr] Adding ucd-trie v0.1.7 [INFO] [stderr] Adding unic-char-property v0.9.0 [INFO] [stderr] Adding unic-char-range v0.9.0 [INFO] [stderr] Adding unic-common v0.9.0 [INFO] [stderr] Adding unic-segment v0.9.0 [INFO] [stderr] Adding unic-ucd-segment v0.9.0 [INFO] [stderr] Adding unic-ucd-version v0.9.0 [INFO] [stderr] Adding unicode-width v0.1.11 (available: v0.1.14) [INFO] [stderr] Adding uuid v1.11.0 [INFO] [stderr] Adding vcpkg v0.2.15 [INFO] [stderr] Adding version_check v0.9.5 [INFO] [stderr] Adding walkdir v2.5.0 [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Adding wasm-bindgen v0.2.95 [INFO] [stderr] Adding wasm-bindgen-backend v0.2.95 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.95 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.95 [INFO] [stderr] Adding winapi-util v0.1.9 [INFO] [stderr] Adding windows-core v0.52.0 [INFO] [stderr] Adding windows-sys v0.52.0 [INFO] [stderr] Adding windows-sys v0.59.0 [INFO] [stderr] Adding windows-targets v0.52.6 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.6 [INFO] [stderr] Adding windows_i686_gnu v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Adding windows_i686_msvc v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.6 [INFO] [stderr] Adding zerocopy v0.7.35 [INFO] [stderr] Adding zerocopy-derive v0.7.35 [INFO] [stderr] Adding zip v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b282f2122c9b68aa4952ff187774facc428b310056ce711a16eef41557f5a8c [INFO] running `Command { std: "docker" "start" "-a" "9b282f2122c9b68aa4952ff187774facc428b310056ce711a16eef41557f5a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b282f2122c9b68aa4952ff187774facc428b310056ce711a16eef41557f5a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b282f2122c9b68aa4952ff187774facc428b310056ce711a16eef41557f5a8c", kill_on_drop: false }` [INFO] [stdout] 9b282f2122c9b68aa4952ff187774facc428b310056ce711a16eef41557f5a8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2a2eab7c70dbbcef01ae5c3c38452fd2c63eb199e30b19875eb151283868c96 [INFO] running `Command { std: "docker" "start" "-a" "c2a2eab7c70dbbcef01ae5c3c38452fd2c63eb199e30b19875eb151283868c96", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling inventory v0.3.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling bam v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling typetag-impl v0.2.13 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling typetag v0.2.13 [INFO] [stderr] Compiling BAMetrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeStruct` and `Serializer` [INFO] [stdout] --> src/utils.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | ser::{SerializeStruct, Serializer}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_type` [INFO] [stdout] --> src/utils.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let int_type = if *i < 0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut config = load_config(config_path); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_file` [INFO] [stdout] --> src/main.rs:355:15 [INFO] [stdout] | [INFO] [stdout] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file` [INFO] [stdout] --> src/main.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_files` is never used [INFO] [stdout] --> src/main.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/filters.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.22s [INFO] running `Command { std: "docker" "inspect" "c2a2eab7c70dbbcef01ae5c3c38452fd2c63eb199e30b19875eb151283868c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a2eab7c70dbbcef01ae5c3c38452fd2c63eb199e30b19875eb151283868c96", kill_on_drop: false }` [INFO] [stdout] c2a2eab7c70dbbcef01ae5c3c38452fd2c63eb199e30b19875eb151283868c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb5f288c39fee349dab73460e7613948ffffa9cb6dc690dcc6596835bab02b70 [INFO] running `Command { std: "docker" "start" "-a" "cb5f288c39fee349dab73460e7613948ffffa9cb6dc690dcc6596835bab02b70", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling symbolic-demangle v12.12.0 [INFO] [stderr] Compiling papergrid v0.12.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling symbolic-common v12.12.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling terminal_size v0.4.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling msvc-demangler v0.10.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Compiling infer v0.16.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling bam v0.1.4 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling tabled_derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling typetag-impl v0.2.13 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling tabled v0.16.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling typetag v0.2.13 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling grcov v0.8.20 [INFO] [stderr] Compiling BAMetrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/filters.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | fn opposite_base() -> bool { false } [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 413 - fn opposite_base() -> bool { false } [INFO] [stdout] 413 + fn opposite_base() -> bool false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeStruct` and `Serializer` [INFO] [stdout] --> src/utils.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | ser::{SerializeStruct, Serializer}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[clap(short = 'p', long, env)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[clap(short = 'w', long, action = clap::ArgAction::SetTrue)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[clap(short = 'n', long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[clap(short = 'o', long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[clap(index = 1)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | #[clap(index = 2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | #[clap(index = 3)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | #[clap(short = 'n', long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[clap(short = 'o', long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | #[clap(short = 'p', long, default_value = "1")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stdout] --> src/main.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | #[clap(short = 'v', long, required = false)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite` [INFO] [stdout] --> src/filters.rs:461:47 [INFO] [stdout] | [INFO] [stdout] 461 | fn test_length_filter_below_range(#[case] opposite: bool, #[case] [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite` [INFO] [stdout] --> src/filters.rs:469:48 [INFO] [stdout] | [INFO] [stdout] 469 | fn test_length_filter_within_range(#[case] opposite: bool, #[case] [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite` [INFO] [stdout] --> src/filters.rs:477:45 [INFO] [stdout] | [INFO] [stdout] 477 | fn test_mapq_filter_below_range(#[case] opposite: bool, #[case] [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite` [INFO] [stdout] --> src/filters.rs:486:46 [INFO] [stdout] | [INFO] [stdout] 486 | fn test_mapq_filter_within_range(#[case] opposite: bool, #[case] [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_type` [INFO] [stdout] --> src/utils.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let int_type = if *i < 0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut config = load_config(config_path); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_file` [INFO] [stdout] --> src/main.rs:355:15 [INFO] [stdout] | [INFO] [stdout] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file` [INFO] [stdout] --> src/main.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_files` is never used [INFO] [stdout] --> src/main.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/filters.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filters.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stdout] 15 | pub trait Filtering: CloneFilter { [INFO] [stdout] | --------- `Filtering` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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 39.09s [INFO] running `Command { std: "docker" "inspect" "cb5f288c39fee349dab73460e7613948ffffa9cb6dc690dcc6596835bab02b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb5f288c39fee349dab73460e7613948ffffa9cb6dc690dcc6596835bab02b70", kill_on_drop: false }` [INFO] [stdout] cb5f288c39fee349dab73460e7613948ffffa9cb6dc690dcc6596835bab02b70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c35932e5a775d304868b7ddfffb7690946523113f34f54dd63e53bc01ea7f98 [INFO] running `Command { std: "docker" "start" "-a" "8c35932e5a775d304868b7ddfffb7690946523113f34f54dd63e53bc01ea7f98", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `BufRead` [INFO] [stderr] --> src/main.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::{BufRead, Read, Write}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/filters.rs:413:32 [INFO] [stderr] | [INFO] [stderr] 413 | fn opposite_base() -> bool { false } [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 413 - fn opposite_base() -> bool { false } [INFO] [stderr] 413 + fn opposite_base() -> bool false [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SerializeStruct` and `Serializer` [INFO] [stderr] --> src/utils.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | ser::{SerializeStruct, Serializer}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_args::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | #[clap(short = 'p', long, env)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:69:11 [INFO] [stderr] | [INFO] [stderr] 69 | #[clap(short = 'w', long, action = clap::ArgAction::SetTrue)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:88:11 [INFO] [stderr] | [INFO] [stderr] 88 | #[clap(short = 'n', long)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[clap(short = 'o', long)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:100:11 [INFO] [stderr] | [INFO] [stderr] 100 | #[clap(index = 1)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:103:11 [INFO] [stderr] | [INFO] [stderr] 103 | #[clap(index = 2)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:106:11 [INFO] [stderr] | [INFO] [stderr] 106 | #[clap(index = 3)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:109:11 [INFO] [stderr] | [INFO] [stderr] 109 | #[clap(short = 'n', long)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:120:11 [INFO] [stderr] | [INFO] [stderr] 120 | #[clap(short = 'o', long)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:123:11 [INFO] [stderr] | [INFO] [stderr] 123 | #[clap(short = 'p', long, default_value = "1")] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `::augment_subcommands::old_attribute`: Attribute `#[clap(...)]` has been deprecated in favor of `#[arg(...)]` [INFO] [stderr] --> src/main.rs:126:11 [INFO] [stderr] | [INFO] [stderr] 126 | #[clap(short = 'v', long, required = false)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opposite` [INFO] [stderr] --> src/filters.rs:461:47 [INFO] [stderr] | [INFO] [stderr] 461 | fn test_length_filter_below_range(#[case] opposite: bool, #[case] [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opposite` [INFO] [stderr] --> src/filters.rs:469:48 [INFO] [stderr] | [INFO] [stderr] 469 | fn test_length_filter_within_range(#[case] opposite: bool, #[case] [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opposite` [INFO] [stderr] --> src/filters.rs:477:45 [INFO] [stderr] | [INFO] [stderr] 477 | fn test_mapq_filter_below_range(#[case] opposite: bool, #[case] [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opposite` [INFO] [stderr] --> src/filters.rs:486:46 [INFO] [stderr] | [INFO] [stderr] 486 | fn test_mapq_filter_within_range(#[case] opposite: bool, #[case] [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `int_type` [INFO] [stderr] --> src/utils.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | let int_type = if *i < 0 { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_type` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:235:9 [INFO] [stderr] | [INFO] [stderr] 235 | let mut config = load_config(config_path); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input_file` [INFO] [stderr] --> src/main.rs:355:15 [INFO] [stderr] | [INFO] [stderr] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_file` [INFO] [stderr] --> src/main.rs:355:33 [INFO] [stderr] | [INFO] [stderr] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file` [INFO] [stderr] [INFO] [stderr] warning: function `read_files` is never used [INFO] [stderr] --> src/main.rs:355:4 [INFO] [stderr] | [INFO] [stderr] 355 | fn read_files(input_file: &str, output_file: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `count` is never used [INFO] [stderr] --> src/filters.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl Config { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn count(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/filters.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[typetag::serde(tag = "type")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stderr] 15 | pub trait Filtering: CloneFilter { [INFO] [stderr] | --------- `Filtering` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/filters.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[typetag::serde(tag = "type")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Send` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stderr] 15 | pub trait Filtering: CloneFilter { [INFO] [stderr] | --------- `Filtering` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/filters.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[typetag::serde(tag = "type")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Sync` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stderr] 15 | pub trait Filtering: CloneFilter { [INFO] [stderr] | --------- `Filtering` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/filters.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[typetag::serde(tag = "type")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Send` is not local [INFO] [stderr] | `Sync` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stderr] 15 | pub trait Filtering: CloneFilter { [INFO] [stderr] | --------- `Filtering` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/filters.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[typetag::serde(tag = "type")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stderr] 15 | pub trait Filtering: CloneFilter { [INFO] [stderr] | --------- `Filtering` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/filters.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[typetag::serde(tag = "type")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Strictest` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stderr] 15 | pub trait Filtering: CloneFilter { [INFO] [stderr] | --------- `Filtering` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/filters.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[typetag::serde(tag = "type")] [INFO] [stderr] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Box` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_Filtering_registry` [INFO] [stderr] 15 | pub trait Filtering: CloneFilter { [INFO] [stderr] | --------- `Filtering` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `BAMetrics` (bin "BAMetrics" test) generated 32 warnings (run `cargo fix --bin "BAMetrics" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/BAMetrics-f13199f4523de897) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test filters::tests::test_length_filter_below_range::case_1 ... ok [INFO] [stdout] test filters::tests::test_length_filter_below_range::case_2 ... ok [INFO] [stdout] test filters::tests::test_length_filter_within_range::case_2 ... ok [INFO] [stdout] test filters::tests::test_mapq_filter_below_range::case_1 ... ok [INFO] [stdout] test filters::tests::test_length_filter_within_range::case_1 ... ok [INFO] [stdout] test filters::tests::test_mapq_filter_below_range::case_2 ... ok [INFO] [stdout] test filters::tests::test_mapq_filter_within_range::case_1 ... ok [INFO] [stdout] test filters::tests::test_mapq_filter_within_range::case_2 ... ok [INFO] [stdout] test utils::tests::test_opposite::case_1 ... ok [INFO] [stdout] test utils::tests::test_opposite::case_2 ... ok [INFO] [stdout] test utils::tests::test_opposite::case_3 ... ok [INFO] [stdout] test utils::tests::test_opposite::case_4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c35932e5a775d304868b7ddfffb7690946523113f34f54dd63e53bc01ea7f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c35932e5a775d304868b7ddfffb7690946523113f34f54dd63e53bc01ea7f98", kill_on_drop: false }` [INFO] [stdout] 8c35932e5a775d304868b7ddfffb7690946523113f34f54dd63e53bc01ea7f98