[INFO] fetching crate erspan 0.2.1... [INFO] checking erspan-0.2.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate erspan 0.2.1 into /workspace/builds/worker-56/source [INFO] validating manifest of crates.io crate erspan 0.2.1 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 crates.io crate erspan 0.2.1 [INFO] finished tweaking crates.io crate erspan 0.2.1 [INFO] tweaked toml for crates.io crate erspan 0.2.1 written to /workspace/builds/worker-56/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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] d2f986c7317faa41c96c6cd4929263d477cbde0023e03d792fb0ac30c7340c85 [INFO] running `Command { std: "docker" "start" "-a" "d2f986c7317faa41c96c6cd4929263d477cbde0023e03d792fb0ac30c7340c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2f986c7317faa41c96c6cd4929263d477cbde0023e03d792fb0ac30c7340c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f986c7317faa41c96c6cd4929263d477cbde0023e03d792fb0ac30c7340c85", kill_on_drop: false }` [INFO] [stdout] d2f986c7317faa41c96c6cd4929263d477cbde0023e03d792fb0ac30c7340c85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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] 6af4adb5f177d21030cafa317a20f1ba135cbcacb93ff2661851190fc3e3c688 [INFO] running `Command { std: "docker" "start" "-a" "6af4adb5f177d21030cafa317a20f1ba135cbcacb93ff2661851190fc3e3c688", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking pnet_base v0.26.0 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling pnet v0.26.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pnet_macros_support v0.26.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking pnet_sys v0.26.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking ipnetwork v0.16.0 [INFO] [stderr] Checking pnet_datalink v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.26.0 [INFO] [stderr] Compiling pnet_packet v0.26.0 [INFO] [stderr] Checking pnet_transport v0.26.0 [INFO] [stderr] Checking erspan v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/tests.rs (5 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErspanType` [INFO] [stdout] --> src/tests.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(result.version, ErspanType::Type2); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ErspanType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EtherTypes` [INFO] [stdout] --> src/tests.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(eframe.get_ethertype(), EtherTypes::Ipv4); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EtherTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErspanType` [INFO] [stdout] --> src/tests.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(result.version, ErspanType::Type3); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ErspanType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EtherTypes` [INFO] [stdout] --> src/tests.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(eframe.get_ethertype(), EtherTypes::Ipv4); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EtherTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErspanError` [INFO] [stdout] --> src/tests.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | Err(e) => assert_eq!(e, ErspanError::UnknownPacket) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ErspanError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErspanError` [INFO] [stdout] --> src/tests.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | Err(e) => assert_eq!(e, ErspanError::InvalidGrePacketType) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ErspanError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErspanError` [INFO] [stdout] --> src/tests.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e) => assert_eq!(e, ErspanError::PacketTooShort) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ErspanError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErspanError` [INFO] [stdout] --> src/tests.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | Err(e) => assert_eq!(e, ErspanError::InvalidIpV4Packet) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ErspanError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErspanError` [INFO] [stdout] --> src/tests.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | Err(e) => assert_eq!(e, ErspanError::InvalidTransportProtocol) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ErspanError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `erspan_decap` in this scope [INFO] [stdout] --> src/tests.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | let original_packet = match erspan_decap(packet_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use crate::erspan_decap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IpAddr` [INFO] [stdout] --> src/tests.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(result.source, IpAddr::from_str("10.0.10.1").unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::IpAddr; [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::IpAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `erspan` due to 27 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IpAddr` [INFO] [stdout] --> src/tests.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(result.destination, IpAddr::from_str("10.0.10.133").unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::IpAddr; [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::IpAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EthernetPacket` [INFO] [stdout] --> src/tests.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let eframe = &EthernetPacket::new(original_packet.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::EthernetPacket; [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::packet::ethernet::EthernetPacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacAddr` [INFO] [stdout] --> src/tests.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(eframe.get_source(), MacAddr::from_str("6c:ab:05:1f:0c:74").unwrap()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::util::MacAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacAddr` [INFO] [stdout] --> src/tests.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(eframe.get_destination(), MacAddr::from_str("54:b2:03:07:ee:ed").unwrap()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::util::MacAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] [stdout] error[E0425]: cannot find function `erspan_decap` in this scope [INFO] [stdout] --> src/tests.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let original_packet = match erspan_decap(packet_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use crate::erspan_decap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IpAddr` [INFO] [stdout] --> src/tests.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(result.source, IpAddr::from_str("10.0.10.1").unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::IpAddr; [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::IpAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IpAddr` [INFO] [stdout] --> src/tests.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(result.destination, IpAddr::from_str("10.0.10.140").unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::IpAddr; [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::IpAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EthernetPacket` [INFO] [stdout] --> src/tests.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let eframe = &EthernetPacket::new(original_packet.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::EthernetPacket; [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::packet::ethernet::EthernetPacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacAddr` [INFO] [stdout] --> src/tests.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(eframe.get_source(), MacAddr::from_str("6c:ab:05:1f:0c:74").unwrap()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::util::MacAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacAddr` [INFO] [stdout] --> src/tests.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(eframe.get_destination(), MacAddr::from_str("34:56:fe:c7:b8:68").unwrap()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::util::MacAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `erspan_decap` in this scope [INFO] [stdout] --> src/tests.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | match erspan_decap(packet_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use crate::erspan_decap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `erspan_decap` in this scope [INFO] [stdout] --> src/tests.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | match erspan_decap(packet_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use crate::erspan_decap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `erspan_decap` in this scope [INFO] [stdout] --> src/tests.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | match erspan_decap(packet_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use crate::erspan_decap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `erspan_decap` in this scope [INFO] [stdout] --> src/tests.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | match erspan_decap(packet_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use crate::erspan_decap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `erspan_decap` in this scope [INFO] [stdout] --> src/tests.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | match erspan_decap(packet_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use crate::erspan_decap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6af4adb5f177d21030cafa317a20f1ba135cbcacb93ff2661851190fc3e3c688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af4adb5f177d21030cafa317a20f1ba135cbcacb93ff2661851190fc3e3c688", kill_on_drop: false }` [INFO] [stdout] 6af4adb5f177d21030cafa317a20f1ba135cbcacb93ff2661851190fc3e3c688