[INFO] cloning repository https://github.com/flyflypeng/netlink-crate-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flyflypeng/netlink-crate-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f2005adcbc2064bdc93db949cbc7916d96f339b [INFO] checking flyflypeng/netlink-crate-example against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flyflypeng/netlink-crate-example on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] finished tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] tweaked toml for git repo https://github.com/flyflypeng/netlink-crate-example written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/flyflypeng/netlink-crate-example 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.11.0 [INFO] [stderr] Downloaded byteordered v0.5.0 [INFO] [stderr] Downloaded netlink-packet-utils v0.4.1 [INFO] [stderr] Downloaded netlink-packet-route v0.7.1 [INFO] [stderr] Downloaded netlink-packet-core v0.2.4 [INFO] [stderr] Downloaded netlink-sys v0.6.0 [INFO] [stderr] Downloaded rtnetlink v0.7.0 [INFO] [stderr] Downloaded netlink-proto v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd2e1dc1be66692a6480154d4bf385b6199d889d7d3408450c504853a9e9759f [INFO] running `Command { std: "docker" "start" "-a" "dd2e1dc1be66692a6480154d4bf385b6199d889d7d3408450c504853a9e9759f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd2e1dc1be66692a6480154d4bf385b6199d889d7d3408450c504853a9e9759f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2e1dc1be66692a6480154d4bf385b6199d889d7d3408450c504853a9e9759f", kill_on_drop: false }` [INFO] [stdout] dd2e1dc1be66692a6480154d4bf385b6199d889d7d3408450c504853a9e9759f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2efc15d8f666e0db829ff770c437d4d1f3d3a5405c5a0c77f6490be07a45c73d [INFO] running `Command { std: "docker" "start" "-a" "2efc15d8f666e0db829ff770c437d4d1f3d3a5405c5a0c77f6490be07a45c73d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking once_cell v1.11.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking byteordered v0.5.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking netlink-packet-utils v0.4.1 [INFO] [stderr] Checking netlink-packet-core v0.2.4 [INFO] [stderr] Checking netlink-packet-route v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking netlink-sys v0.6.0 [INFO] [stderr] Checking netlink-proto v0.6.0 [INFO] [stderr] Checking rtnetlink v0.7.0 [INFO] [stderr] Checking netlink-crate-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `vlan_id` in this scope [INFO] [stdout] --> src/main.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vlan_id` in this scope [INFO] [stdout] --> src/main.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `match_name` found for struct `LinkGetRequest` in the current scope [INFO] [stdout] --> src/main.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let mut links = handle.link().get().match_name(veth_name.clone()).execute(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `LinkGetRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `match_name` found for struct `LinkGetRequest` in the current scope [INFO] [stdout] --> src/main.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let mut links = handle.link().get().match_name(veth_name.clone()).execute(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `LinkGetRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ---- ^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rtnetlink-0.7.0/src/link/add.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn vlan(self, name: String, index: u32, vlan_id: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ---- ^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rtnetlink-0.7.0/src/link/add.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn vlan(self, name: String, index: u32, vlan_id: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / Command::new("ip") [INFO] [stdout] 8 | | .args(["link", "del", "veth0"]) [INFO] [stdout] 9 | | .output() [INFO] [stdout] 10 | | .expect("failed to clean update vlan env") [INFO] [stdout] | |__________________________________________________^ expected `()`, found `Output` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 10 | .expect("failed to clean update vlan env"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 5 | fn clean_env_for_update_vlan() -> Output { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / Command::new("ip") [INFO] [stdout] 8 | | .args(["link", "del", "veth0"]) [INFO] [stdout] 9 | | .output() [INFO] [stdout] 10 | | .expect("failed to clean update vlan env") [INFO] [stdout] | |__________________________________________________^ expected `()`, found `Output` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 10 | .expect("failed to clean update vlan env"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 5 | fn clean_env_for_update_vlan() -> Output { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netlink-crate-example` (bin "netlink-crate-example" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `netlink-crate-example` (bin "netlink-crate-example") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "2efc15d8f666e0db829ff770c437d4d1f3d3a5405c5a0c77f6490be07a45c73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2efc15d8f666e0db829ff770c437d4d1f3d3a5405c5a0c77f6490be07a45c73d", kill_on_drop: false }` [INFO] [stdout] 2efc15d8f666e0db829ff770c437d4d1f3d3a5405c5a0c77f6490be07a45c73d [INFO] checking flyflypeng/netlink-crate-example against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flyflypeng/netlink-crate-example on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] finished tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] tweaked toml for git repo https://github.com/flyflypeng/netlink-crate-example written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/flyflypeng/netlink-crate-example 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fad22d4c66d21b729d1f44da621b6b42c93baa67f9de1de8da27764f4ef3f30e [INFO] running `Command { std: "docker" "start" "-a" "fad22d4c66d21b729d1f44da621b6b42c93baa67f9de1de8da27764f4ef3f30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fad22d4c66d21b729d1f44da621b6b42c93baa67f9de1de8da27764f4ef3f30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad22d4c66d21b729d1f44da621b6b42c93baa67f9de1de8da27764f4ef3f30e", kill_on_drop: false }` [INFO] [stdout] fad22d4c66d21b729d1f44da621b6b42c93baa67f9de1de8da27764f4ef3f30e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3acfe9c221291fe5ae718cecc0390f5a41eeb8761e0bd48664680cebf789c224 [INFO] running `Command { std: "docker" "start" "-a" "3acfe9c221291fe5ae718cecc0390f5a41eeb8761e0bd48664680cebf789c224", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "3acfe9c221291fe5ae718cecc0390f5a41eeb8761e0bd48664680cebf789c224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3acfe9c221291fe5ae718cecc0390f5a41eeb8761e0bd48664680cebf789c224", kill_on_drop: false }` [INFO] [stdout] 3acfe9c221291fe5ae718cecc0390f5a41eeb8761e0bd48664680cebf789c224