[INFO] cloning repository https://github.com/Lymia/diar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lymia/diar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLymia%2Fdiar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLymia%2Fdiar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6aa2d10dc5b9bb3af320ad3fda8c1729d54dcd86 [INFO] checking Lymia/diar against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLymia%2Fdiar" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lymia/diar on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lymia/diar [INFO] finished tweaking git repo https://github.com/Lymia/diar [INFO] tweaked toml for git repo https://github.com/Lymia/diar written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Lymia/diar already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap2 v0.3.0 [INFO] [stderr] Downloaded jobserver v0.1.23 [INFO] [stderr] Downloaded derive_setters v0.1.5 [INFO] [stderr] Downloaded tree_magic_db v3.0.0 [INFO] [stderr] Downloaded tree_magic_mini v3.0.0 [INFO] [stderr] Downloaded jwalk v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4465a14439d9a6466f7faf607d9a06037417f5d0f70dfe5ab2fcbbedf47d54bc [INFO] running `Command { std: "docker" "start" "-a" "4465a14439d9a6466f7faf607d9a06037417f5d0f70dfe5ab2fcbbedf47d54bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4465a14439d9a6466f7faf607d9a06037417f5d0f70dfe5ab2fcbbedf47d54bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4465a14439d9a6466f7faf607d9a06037417f5d0f70dfe5ab2fcbbedf47d54bc", kill_on_drop: false }` [INFO] [stdout] 4465a14439d9a6466f7faf607d9a06037417f5d0f70dfe5ab2fcbbedf47d54bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f06ae2a7814981746262248343c964a413ec14da795dc3d216311f04c4923128 [INFO] running `Command { std: "docker" "start" "-a" "f06ae2a7814981746262248343c964a413ec14da795dc3d216311f04c4923128", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tracing-core v0.1.18: default [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking tree_magic_db v3.0.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling jobserver v0.1.23 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap2 v0.3.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking jwalk v0.6.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking tree_magic_mini v3.0.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_setters v0.1.5 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Checking diar v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/compress/compressor.rs (1 fix) [INFO] [stdout] warning: variant is never constructed: `Data` [INFO] [stdout] --> src/compress/data_source.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | Data { path_hint: PathBuf, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_hint` [INFO] [stdout] --> src/compress/data_source.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn len_hint(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_path` [INFO] [stdout] --> src/compress/dictionary_set.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn read_path(path: &Path, target: &mut Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CompressWriter` [INFO] [stdout] --> src/compress/writer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CompressWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_varuint` [INFO] [stdout] --> src/compress/writer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_varuint(&mut self, data: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intern` [INFO] [stdout] --> src/compress/writer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn intern(&mut self, str: &str) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_name` [INFO] [stdout] --> src/compress/writer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_known_name` [INFO] [stdout] --> src/compress/writer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_known_name(&mut self, name: KnownName) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_name` [INFO] [stdout] --> src/compress/writer.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn encode_string_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_full` [INFO] [stdout] --> src/compress/writer.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn encode_string_full(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string` [INFO] [stdout] --> src/compress/writer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_arg_string(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string_interned` [INFO] [stdout] --> src/compress/writer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn write_arg_string_interned(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_varuint` [INFO] [stdout] --> src/compress/writer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn write_arg_varuint(&mut self, value: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_bool` [INFO] [stdout] --> src/compress/writer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn write_arg_bool(&mut self, val: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_known` [INFO] [stdout] --> src/names.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_known(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_low_level` [INFO] [stdout] --> src/names.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn is_low_level(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `StaticName` [INFO] [stdout] --> src/names.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub type StaticName = Name<'static>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Data` [INFO] [stdout] --> src/compress/data_source.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | Data { path_hint: PathBuf, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_hint` [INFO] [stdout] --> src/compress/data_source.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn len_hint(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_path` [INFO] [stdout] --> src/compress/dictionary_set.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn read_path(path: &Path, target: &mut Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CompressWriter` [INFO] [stdout] --> src/compress/writer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CompressWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_varuint` [INFO] [stdout] --> src/compress/writer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_varuint(&mut self, data: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intern` [INFO] [stdout] --> src/compress/writer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn intern(&mut self, str: &str) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_name` [INFO] [stdout] --> src/compress/writer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_known_name` [INFO] [stdout] --> src/compress/writer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_known_name(&mut self, name: KnownName) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_name` [INFO] [stdout] --> src/compress/writer.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn encode_string_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_full` [INFO] [stdout] --> src/compress/writer.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn encode_string_full(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string` [INFO] [stdout] --> src/compress/writer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_arg_string(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string_interned` [INFO] [stdout] --> src/compress/writer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn write_arg_string_interned(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_varuint` [INFO] [stdout] --> src/compress/writer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn write_arg_varuint(&mut self, value: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_bool` [INFO] [stdout] --> src/compress/writer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn write_arg_bool(&mut self, val: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_known` [INFO] [stdout] --> src/names.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_known(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_low_level` [INFO] [stdout] --> src/names.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn is_low_level(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `StaticName` [INFO] [stdout] --> src/names.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub type StaticName = Name<'static>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/test_dicts.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 51s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking diar v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: variant is never constructed: `Data` [INFO] [stdout] --> src/compress/data_source.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | Data { path_hint: PathBuf, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_hint` [INFO] [stdout] --> src/compress/data_source.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn len_hint(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_path` [INFO] [stdout] --> src/compress/dictionary_set.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn read_path(path: &Path, target: &mut Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CompressWriter` [INFO] [stdout] --> src/compress/writer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CompressWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_varuint` [INFO] [stdout] --> src/compress/writer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_varuint(&mut self, data: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intern` [INFO] [stdout] --> src/compress/writer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn intern(&mut self, str: &str) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_name` [INFO] [stdout] --> src/compress/writer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_known_name` [INFO] [stdout] --> src/compress/writer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_known_name(&mut self, name: KnownName) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_name` [INFO] [stdout] --> src/compress/writer.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn encode_string_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_full` [INFO] [stdout] --> src/compress/writer.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn encode_string_full(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string` [INFO] [stdout] --> src/compress/writer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_arg_string(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string_interned` [INFO] [stdout] --> src/compress/writer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn write_arg_string_interned(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_varuint` [INFO] [stdout] --> src/compress/writer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn write_arg_varuint(&mut self, value: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_bool` [INFO] [stdout] --> src/compress/writer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn write_arg_bool(&mut self, val: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_known` [INFO] [stdout] --> src/names.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_known(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_low_level` [INFO] [stdout] --> src/names.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn is_low_level(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `StaticName` [INFO] [stdout] --> src/names.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub type StaticName = Name<'static>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Data` [INFO] [stdout] --> src/compress/data_source.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | Data { path_hint: PathBuf, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_hint` [INFO] [stdout] --> src/compress/data_source.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn len_hint(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_path` [INFO] [stdout] --> src/compress/dictionary_set.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn read_path(path: &Path, target: &mut Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CompressWriter` [INFO] [stdout] --> src/compress/writer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CompressWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_varuint` [INFO] [stdout] --> src/compress/writer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_varuint(&mut self, data: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intern` [INFO] [stdout] --> src/compress/writer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn intern(&mut self, str: &str) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_name` [INFO] [stdout] --> src/compress/writer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_known_name` [INFO] [stdout] --> src/compress/writer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_known_name(&mut self, name: KnownName) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_name` [INFO] [stdout] --> src/compress/writer.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn encode_string_name(&mut self, name: &Name<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_string_full` [INFO] [stdout] --> src/compress/writer.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn encode_string_full(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string` [INFO] [stdout] --> src/compress/writer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn write_arg_string(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_string_interned` [INFO] [stdout] --> src/compress/writer.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn write_arg_string_interned(&mut self, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_varuint` [INFO] [stdout] --> src/compress/writer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn write_arg_varuint(&mut self, value: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_arg_bool` [INFO] [stdout] --> src/compress/writer.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn write_arg_bool(&mut self, val: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_known` [INFO] [stdout] --> src/names.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_known(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_low_level` [INFO] [stdout] --> src/names.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn is_low_level(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `StaticName` [INFO] [stdout] --> src/names.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub type StaticName = Name<'static>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "f06ae2a7814981746262248343c964a413ec14da795dc3d216311f04c4923128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06ae2a7814981746262248343c964a413ec14da795dc3d216311f04c4923128", kill_on_drop: false }` [INFO] [stdout] f06ae2a7814981746262248343c964a413ec14da795dc3d216311f04c4923128