[INFO] fetching crate warcrwlock 3.0.0... [INFO] checking warcrwlock-3.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate warcrwlock 3.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate warcrwlock 3.0.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8badd8999d0589e57b10dd7aaca5361c78f56675cc1efc82a4ef41d65bfc147 [INFO] running `Command { std: "docker" "start" "-a" "e8badd8999d0589e57b10dd7aaca5361c78f56675cc1efc82a4ef41d65bfc147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8badd8999d0589e57b10dd7aaca5361c78f56675cc1efc82a4ef41d65bfc147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8badd8999d0589e57b10dd7aaca5361c78f56675cc1efc82a4ef41d65bfc147", kill_on_drop: false }` [INFO] [stdout] e8badd8999d0589e57b10dd7aaca5361c78f56675cc1efc82a4ef41d65bfc147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c84576489ecb4e728ea901bfbf13f0ce91dac602c318fbcc3ad4d403cabf1029 [INFO] running `Command { std: "docker" "start" "-a" "c84576489ecb4e728ea901bfbf13f0ce91dac602c318fbcc3ad4d403cabf1029", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling static_init v1.0.3 [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: `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: `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: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: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: 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] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.28s [INFO] running `Command { std: "docker" "inspect" "c84576489ecb4e728ea901bfbf13f0ce91dac602c318fbcc3ad4d403cabf1029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84576489ecb4e728ea901bfbf13f0ce91dac602c318fbcc3ad4d403cabf1029", kill_on_drop: false }` [INFO] [stdout] c84576489ecb4e728ea901bfbf13f0ce91dac602c318fbcc3ad4d403cabf1029