[INFO] fetching crate warcrwlock 3.0.0... [INFO] checking warcrwlock-3.0.0 against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] extracting crate warcrwlock 3.0.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate warcrwlock 3.0.0 [INFO] finished tweaking crates.io crate warcrwlock 3.0.0 [INFO] tweaked toml for crates.io crate warcrwlock 3.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate warcrwlock 3.0.0 on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 437fa0790d716fddfbb6235efcd95e733a4f641fe0f2983ebe2ce7dcd2b61d46 [INFO] running `Command { std: "docker" "start" "-a" "437fa0790d716fddfbb6235efcd95e733a4f641fe0f2983ebe2ce7dcd2b61d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "437fa0790d716fddfbb6235efcd95e733a4f641fe0f2983ebe2ce7dcd2b61d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437fa0790d716fddfbb6235efcd95e733a4f641fe0f2983ebe2ce7dcd2b61d46", kill_on_drop: false }` [INFO] [stdout] 437fa0790d716fddfbb6235efcd95e733a4f641fe0f2983ebe2ce7dcd2b61d46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83e05eac669f6f66641079d68d1edf5d813184237cba5b8a8004e621b12f3c22 [INFO] running `Command { std: "docker" "start" "-a" "83e05eac669f6f66641079d68d1edf5d813184237cba5b8a8004e621b12f3c22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling static_init_macro v1.0.4 [INFO] [stderr] Compiling static_init v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking warcrwlock v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `implementation` [INFO] [stdout] --> src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use helpers::{implementation, struture}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/lib.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_macro_input, Item, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `implementation` [INFO] [stdout] --> src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use helpers::{implementation, struture}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/lib.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_macro_input, Item, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_ident` [INFO] [stdout] --> src/helpers/traits/util/generator_method.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let base_ident = "(*self.base)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_ident` [INFO] [stdout] --> src/helpers/traits/util/generator_method.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let base_ident = "(*self.base)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_abs_module` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let (ident_trait, ident_abs_module, ident_abs_structure, vis_trait) = get_ident_headers(item_trait); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_abs_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis_trait` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | let (ident_trait, ident_abs_module, ident_abs_structure, vis_trait) = get_ident_headers(item_trait); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vis_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_abs_module` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let (ident_trait, ident_abs_module, ident_abs_structure, vis_trait) = get_ident_headers(item_trait); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_abs_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis_trait` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | let (ident_trait, ident_abs_module, ident_abs_structure, vis_trait) = get_ident_headers(item_trait); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vis_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_abs_module` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let (ident_trait, ident_abs_module, ident_abs_structure, vis_trait) = get_ident_headers(item_trait); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_abs_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_flag` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let ident_flag = to_token_stream(format!("{}Flag", ident_trait)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_box` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let ident_box = to_token_stream(format!("{}Box", ident_trait)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_abs_module` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let (ident_trait, ident_abs_module, ident_abs_structure, vis_trait) = get_ident_headers(item_trait); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_abs_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_flag` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let ident_flag = to_token_stream(format!("{}Flag", ident_trait)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_box` [INFO] [stdout] --> src/helpers/traits/util/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let ident_box = to_token_stream(format!("{}Box", ident_trait)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_isolated_name` is never used [INFO] [stdout] --> src/helpers/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn contains_isolated_name(content: &C, target: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_isolated_name_index` is never used [INFO] [stdout] --> src/helpers/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_isolated_name_index(content: &C, target: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mod_ident` is never used [INFO] [stdout] --> src/helpers/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_mod_ident()-> TokenStream{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expantion` is never used [INFO] [stdout] --> src/helpers/implementation/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn expantion( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/base_methods.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn method_normalization(method : &mut ImplItemFn, original_type_name : &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/base_methods.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn return_method_normalization(type_ : &mut Type, original_type_name : &str, method_name: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arg_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/base_methods.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn arg_method_normalization( type_ : &mut Type ,original_type_name : &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn method_normalization(method: &mut ImplItemFn, origin_type_name: &str, generics: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn return_method_normalization( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arg_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn arg_method_normalization( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `self_checker` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:310:4 [INFO] [stdout] | [INFO] [stdout] 310 | fn self_checker(element_str: &str, origin_type_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn extract_name(pat: &Pat, args: &mut String, index: usize, len_args: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_isolated_name` is never used [INFO] [stdout] --> src/helpers/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn contains_isolated_name(content: &C, target: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_isolated_name_index` is never used [INFO] [stdout] --> src/helpers/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_isolated_name_index(content: &C, target: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mod_ident` is never used [INFO] [stdout] --> src/helpers/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_mod_ident()-> TokenStream{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expantion` is never used [INFO] [stdout] --> src/helpers/implementation/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn expantion( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/base_methods.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn method_normalization(method : &mut ImplItemFn, original_type_name : &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/base_methods.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn return_method_normalization(type_ : &mut Type, original_type_name : &str, method_name: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arg_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/base_methods.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn arg_method_normalization( type_ : &mut Type ,original_type_name : &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn method_normalization(method: &mut ImplItemFn, origin_type_name: &str, generics: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn return_method_normalization( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arg_method_normalization` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn arg_method_normalization( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `self_checker` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:310:4 [INFO] [stdout] | [INFO] [stdout] 310 | fn self_checker(element_str: &str, origin_type_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name` is never used [INFO] [stdout] --> src/helpers/implementation/wrapper_methods.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn extract_name(pat: &Pat, args: &mut String, index: usize, len_args: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.11s [INFO] running `Command { std: "docker" "inspect" "83e05eac669f6f66641079d68d1edf5d813184237cba5b8a8004e621b12f3c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e05eac669f6f66641079d68d1edf5d813184237cba5b8a8004e621b12f3c22", kill_on_drop: false }` [INFO] [stdout] 83e05eac669f6f66641079d68d1edf5d813184237cba5b8a8004e621b12f3c22