[INFO] cloning repository https://github.com/starkat99/ink-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starkat99/ink-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarkat99%2Fink-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarkat99%2Fink-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad135c1f5107a9a4c1504f73e2d2f6b0ca12d2a5 [INFO] checking starkat99/ink-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarkat99%2Fink-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/starkat99/ink-rs 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/starkat99/ink-rs [INFO] finished tweaking git repo https://github.com/starkat99/ink-rs [INFO] tweaked toml for git repo https://github.com/starkat99/ink-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/starkat99/ink-rs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-logging v2.0.2 [INFO] [stderr] Downloaded string-interner v0.7.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.11 [INFO] [stderr] Downloaded thiserror v1.0.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] f06177c49aabc869367e94570e32f8088adfd3ccd4932e191a570d7d7b835c61 [INFO] running `Command { std: "docker" "start" "-a" "f06177c49aabc869367e94570e32f8088adfd3ccd4932e191a570d7d7b835c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f06177c49aabc869367e94570e32f8088adfd3ccd4932e191a570d7d7b835c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06177c49aabc869367e94570e32f8088adfd3ccd4932e191a570d7d7b835c61", kill_on_drop: false }` [INFO] [stdout] f06177c49aabc869367e94570e32f8088adfd3ccd4932e191a570d7d7b835c61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] a9a38585fd0c959a9d92869534e3c51db430baaccdad8b1bd817f1f3f79168af [INFO] running `Command { std: "docker" "start" "-a" "a9a38585fd0c959a9d92869534e3c51db430baaccdad8b1bd817f1f3f79168af", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking string-interner v0.7.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking ink v0.0.1 (/tmp/fixit/ink) [INFO] [stderr] Migrating ink/src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: associated function is never used: `from_components` [INFO] [stdout] --> ink/src/data/path.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_components(components: &[PathComponent], relative: bool) -> Self { [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: `contains_name` [INFO] [stdout] --> ink/src/data/path.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn contains_name(&self, name: InternStr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> ink/src/data/path.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn first(&self) -> Option<&PathComponent> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_mut` [INFO] [stdout] --> ink/src/data/path.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn first_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_mut` [INFO] [stdout] --> ink/src/data/path.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn last_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_head` [INFO] [stdout] --> ink/src/data/path.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn split_head(&self) -> (Option<&PathComponent>, Path) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_head` [INFO] [stdout] --> ink/src/data/path.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remove_head(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_tail` [INFO] [stdout] --> ink/src/data/path.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn remove_tail(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_slice` [INFO] [stdout] --> ink/src/data/path.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_slice(&self) -> &[PathComponent] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_mut_slice` [INFO] [stdout] --> ink/src/data/path.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn as_mut_slice(&mut self) -> &mut [PathComponent] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> ink/src/data/path.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get(&self, index: I) -> Option<&>::Output> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> ink/src/data/path.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_mut( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> ink/src/data/path.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_first` [INFO] [stdout] --> ink/src/data/path.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn push_first(&mut self, component: PathComponent) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_tail` [INFO] [stdout] --> ink/src/data/path.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn with_tail(&self, tail: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head` [INFO] [stdout] --> ink/src/data/path.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn with_head(&self, head: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head_component` [INFO] [stdout] --> ink/src/data/path.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn with_head_component(&self, head: PathComponent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `join` [INFO] [stdout] --> ink/src/data/path.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn join(&mut self, path: &Path) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_joined` [INFO] [stdout] --> ink/src/data/path.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn with_joined(&self, path: &Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_content_at_path` [INFO] [stdout] --> ink/src/data.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | pub(crate) fn find_content_at_path<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_named_children` [INFO] [stdout] --> ink/src/data.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | pub(crate) fn iter_named_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_children` [INFO] [stdout] --> ink/src/data.rs:512:19 [INFO] [stdout] | [INFO] [stdout] 512 | pub(crate) fn iter_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enumerate_children` [INFO] [stdout] --> ink/src/data.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | pub(crate) fn enumerate_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_components` [INFO] [stdout] --> ink/src/data/path.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_components(components: &[PathComponent], relative: bool) -> Self { [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: `contains_named_component` [INFO] [stdout] --> ink/src/data/path.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn contains_named_component(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_name` [INFO] [stdout] --> ink/src/data/path.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn contains_name(&self, name: InternStr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_name_str` [INFO] [stdout] --> ink/src/data/path.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn contains_name_str(&self, name: &str, string_arena: &StringArena) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> ink/src/data/path.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> ink/src/data/path.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn first(&self) -> Option<&PathComponent> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_mut` [INFO] [stdout] --> ink/src/data/path.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn first_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_mut` [INFO] [stdout] --> ink/src/data/path.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn last_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_head` [INFO] [stdout] --> ink/src/data/path.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn split_head(&self) -> (Option<&PathComponent>, Path) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_head` [INFO] [stdout] --> ink/src/data/path.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remove_head(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_tail` [INFO] [stdout] --> ink/src/data/path.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn remove_tail(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_slice` [INFO] [stdout] --> ink/src/data/path.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_slice(&self) -> &[PathComponent] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_mut_slice` [INFO] [stdout] --> ink/src/data/path.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn as_mut_slice(&mut self) -> &mut [PathComponent] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> ink/src/data/path.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get(&self, index: I) -> Option<&>::Output> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> ink/src/data/path.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_mut( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> ink/src/data/path.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_first` [INFO] [stdout] --> ink/src/data/path.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn push_first(&mut self, component: PathComponent) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_tail` [INFO] [stdout] --> ink/src/data/path.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn with_tail(&self, tail: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head` [INFO] [stdout] --> ink/src/data/path.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn with_head(&self, head: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head_component` [INFO] [stdout] --> ink/src/data/path.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn with_head_component(&self, head: PathComponent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `join` [INFO] [stdout] --> ink/src/data/path.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn join(&mut self, path: &Path) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_joined` [INFO] [stdout] --> ink/src/data/path.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn with_joined(&self, path: &Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_named` [INFO] [stdout] --> ink/src/data/path.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn is_named(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_name` [INFO] [stdout] --> ink/src/data/path.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn as_name(self, string_arena: &StringArena) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_index` [INFO] [stdout] --> ink/src/data/path.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn is_index(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_content_at_path` [INFO] [stdout] --> ink/src/data.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | pub(crate) fn find_content_at_path<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_named_children` [INFO] [stdout] --> ink/src/data.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | pub(crate) fn iter_named_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_children` [INFO] [stdout] --> ink/src/data.rs:512:19 [INFO] [stdout] | [INFO] [stdout] 512 | pub(crate) fn iter_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enumerate_children` [INFO] [stdout] --> ink/src/data.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | pub(crate) fn enumerate_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clink v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.40s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: associated function is never used: `from_components` [INFO] [stdout] --> ink/src/data/path.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_components(components: &[PathComponent], relative: bool) -> Self { [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: `contains_named_component` [INFO] [stdout] --> ink/src/data/path.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn contains_named_component(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_name` [INFO] [stdout] --> ink/src/data/path.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn contains_name(&self, name: InternStr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_name_str` [INFO] [stdout] --> ink/src/data/path.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn contains_name_str(&self, name: &str, string_arena: &StringArena) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> ink/src/data/path.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> ink/src/data/path.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn first(&self) -> Option<&PathComponent> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_mut` [INFO] [stdout] --> ink/src/data/path.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn first_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_mut` [INFO] [stdout] --> ink/src/data/path.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn last_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_head` [INFO] [stdout] --> ink/src/data/path.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn split_head(&self) -> (Option<&PathComponent>, Path) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_head` [INFO] [stdout] --> ink/src/data/path.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remove_head(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_tail` [INFO] [stdout] --> ink/src/data/path.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn remove_tail(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_slice` [INFO] [stdout] --> ink/src/data/path.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_slice(&self) -> &[PathComponent] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_mut_slice` [INFO] [stdout] --> ink/src/data/path.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn as_mut_slice(&mut self) -> &mut [PathComponent] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> ink/src/data/path.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get(&self, index: I) -> Option<&>::Output> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> ink/src/data/path.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_mut( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> ink/src/data/path.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_first` [INFO] [stdout] --> ink/src/data/path.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn push_first(&mut self, component: PathComponent) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_tail` [INFO] [stdout] --> ink/src/data/path.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn with_tail(&self, tail: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head` [INFO] [stdout] --> ink/src/data/path.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn with_head(&self, head: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head_component` [INFO] [stdout] --> ink/src/data/path.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn with_head_component(&self, head: PathComponent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `join` [INFO] [stdout] --> ink/src/data/path.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn join(&mut self, path: &Path) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_joined` [INFO] [stdout] --> ink/src/data/path.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn with_joined(&self, path: &Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_named` [INFO] [stdout] --> ink/src/data/path.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn is_named(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_name` [INFO] [stdout] --> ink/src/data/path.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn as_name(self, string_arena: &StringArena) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_index` [INFO] [stdout] --> ink/src/data/path.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn is_index(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_content_at_path` [INFO] [stdout] --> ink/src/data.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | pub(crate) fn find_content_at_path<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_named_children` [INFO] [stdout] --> ink/src/data.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | pub(crate) fn iter_named_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_children` [INFO] [stdout] --> ink/src/data.rs:512:19 [INFO] [stdout] | [INFO] [stdout] 512 | pub(crate) fn iter_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enumerate_children` [INFO] [stdout] --> ink/src/data.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | pub(crate) fn enumerate_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_components` [INFO] [stdout] --> ink/src/data/path.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_components(components: &[PathComponent], relative: bool) -> Self { [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: `contains_name` [INFO] [stdout] --> ink/src/data/path.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn contains_name(&self, name: InternStr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> ink/src/data/path.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn first(&self) -> Option<&PathComponent> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_mut` [INFO] [stdout] --> ink/src/data/path.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn first_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_mut` [INFO] [stdout] --> ink/src/data/path.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn last_mut(&mut self) -> Option<&mut PathComponent> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_head` [INFO] [stdout] --> ink/src/data/path.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn split_head(&self) -> (Option<&PathComponent>, Path) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_head` [INFO] [stdout] --> ink/src/data/path.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remove_head(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_tail` [INFO] [stdout] --> ink/src/data/path.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn remove_tail(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_slice` [INFO] [stdout] --> ink/src/data/path.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_slice(&self) -> &[PathComponent] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_mut_slice` [INFO] [stdout] --> ink/src/data/path.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn as_mut_slice(&mut self) -> &mut [PathComponent] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> ink/src/data/path.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get(&self, index: I) -> Option<&>::Output> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> ink/src/data/path.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_mut( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> ink/src/data/path.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_first` [INFO] [stdout] --> ink/src/data/path.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn push_first(&mut self, component: PathComponent) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_tail` [INFO] [stdout] --> ink/src/data/path.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn with_tail(&self, tail: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head` [INFO] [stdout] --> ink/src/data/path.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn with_head(&self, head: &[PathComponent]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_head_component` [INFO] [stdout] --> ink/src/data/path.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn with_head_component(&self, head: PathComponent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `join` [INFO] [stdout] --> ink/src/data/path.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn join(&mut self, path: &Path) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_joined` [INFO] [stdout] --> ink/src/data/path.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn with_joined(&self, path: &Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_content_at_path` [INFO] [stdout] --> ink/src/data.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | pub(crate) fn find_content_at_path<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_named_children` [INFO] [stdout] --> ink/src/data.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | pub(crate) fn iter_named_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_children` [INFO] [stdout] --> ink/src/data.rs:512:19 [INFO] [stdout] | [INFO] [stdout] 512 | pub(crate) fn iter_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enumerate_children` [INFO] [stdout] --> ink/src/data.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | pub(crate) fn enumerate_children<'story>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clink v0.0.1 (/tmp/fixit) [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.76s [INFO] running `Command { std: "docker" "inspect" "a9a38585fd0c959a9d92869534e3c51db430baaccdad8b1bd817f1f3f79168af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a38585fd0c959a9d92869534e3c51db430baaccdad8b1bd817f1f3f79168af", kill_on_drop: false }` [INFO] [stdout] a9a38585fd0c959a9d92869534e3c51db430baaccdad8b1bd817f1f3f79168af