[INFO] cloning repository https://github.com/felixfaisal/vpp-macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felixfaisal/vpp-macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixfaisal%2Fvpp-macros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixfaisal%2Fvpp-macros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6306a7a9202bf93a32888ff20fefafdccc8393d5 [INFO] checking felixfaisal/vpp-macros against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixfaisal%2Fvpp-macros" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felixfaisal/vpp-macros on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felixfaisal/vpp-macros [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/felixfaisal/vpp-macros [INFO] tweaked toml for git repo https://github.com/felixfaisal/vpp-macros written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/felixfaisal/vpp-macros already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84cc9f289cd9833525e29febfc18cda9e925e9a6ab51671c02218278cd6d36f7 [INFO] running `Command { std: "docker" "start" "-a" "84cc9f289cd9833525e29febfc18cda9e925e9a6ab51671c02218278cd6d36f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84cc9f289cd9833525e29febfc18cda9e925e9a6ab51671c02218278cd6d36f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84cc9f289cd9833525e29febfc18cda9e925e9a6ab51671c02218278cd6d36f7", kill_on_drop: false }` [INFO] [stdout] 84cc9f289cd9833525e29febfc18cda9e925e9a6ab51671c02218278cd6d36f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7199da4ab617c895b16e4a15f988269ae43e737e33778e38d93e85c46b0065 [INFO] running `Command { std: "docker" "start" "-a" "9b7199da4ab617c895b16e4a15f988269ae43e737e33778e38d93e85c46b0065", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling minreq v2.4.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling trybuild v1.0.45 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling vpp-api-encoding v0.1.0 (https://github.com/ayourtch/vpp-api-encoding?branch=main#d1dc73cd) [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Checking vpp-api-message v0.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking vpp-api-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `function_name_set_ident` [INFO] [stdout] --> src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let function_name_set_ident = syn::Ident::new(&format!("set_{}",ident.to_string()), name.span()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name_set_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stdout] warning: unused variable: `function_name_set_ident` [INFO] [stdout] --> src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let function_name_set_ident = syn::Ident::new(&format!("set_{}",ident.to_string()), name.span()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name_set_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v3.0.0-beta.4 [INFO] [stderr] Checking serde_yaml v0.8.20 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] warning: unused imports: `ArrayLength` and `GenericArray` [INFO] [stdout] --> tests/unit-test.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> tests/unit-test.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit-test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | let mut felix = AddressUnion::new_IP4Address([10,10,1,2]); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IP6Address` is never used [INFO] [stdout] --> tests/unit-test.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type IP6Address = [u8;16]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_IP4Address` should have a snake case name [INFO] [stdout] --> tests/unit-test.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AddressUnion(FixedSizeArray); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_ip4_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_IP4Address` should have a snake case name [INFO] [stdout] --> tests/unit-test.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AddressUnion(FixedSizeArray); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ip4_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/message-test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct InterfaceAPIAddress { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 7 | uid: u32, [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceAPIAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_name_set_ident` [INFO] [stdout] --> src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let function_name_set_ident = syn::Ident::new(&format!("set_{}",ident.to_string()), name.span()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name_set_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.40s [INFO] running `Command { std: "docker" "inspect" "9b7199da4ab617c895b16e4a15f988269ae43e737e33778e38d93e85c46b0065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7199da4ab617c895b16e4a15f988269ae43e737e33778e38d93e85c46b0065", kill_on_drop: false }` [INFO] [stdout] 9b7199da4ab617c895b16e4a15f988269ae43e737e33778e38d93e85c46b0065