[INFO] cloning repository https://github.com/neuhausler/rust-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neuhausler/rust-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneuhausler%2Frust-net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneuhausler%2Frust-net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b83c70dbce1ac1ea18711ee9485fc1d76b1f249d [INFO] checking neuhausler/rust-net/b83c70dbce1ac1ea18711ee9485fc1d76b1f249d against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneuhausler%2Frust-net" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/neuhausler/rust-net [INFO] finished tweaking git repo https://github.com/neuhausler/rust-net [INFO] tweaked toml for git repo https://github.com/neuhausler/rust-net written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/neuhausler/rust-net on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/neuhausler/rust-net 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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating git repository `https://github.com/libpnet/libpnet.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.3.2 [INFO] [stderr] Downloaded memchr v0.1.6 [INFO] [stderr] Downloaded regex-syntax v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ce24fd16c3374f5de72647d6bedc6372046a31b04dd178b74d8e0e0f9ba2c7 [INFO] running `Command { std: "docker" "start" "-a" "66ce24fd16c3374f5de72647d6bedc6372046a31b04dd178b74d8e0e0f9ba2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ce24fd16c3374f5de72647d6bedc6372046a31b04dd178b74d8e0e0f9ba2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ce24fd16c3374f5de72647d6bedc6372046a31b04dd178b74d8e0e0f9ba2c7", kill_on_drop: false }` [INFO] [stdout] 66ce24fd16c3374f5de72647d6bedc6372046a31b04dd178b74d8e0e0f9ba2c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01bd33162d4ba20a813b7bce477697845cc7e48a77b79c86a7a5b5c7430e449a [INFO] running `Command { std: "docker" "start" "-a" "01bd33162d4ba20a813b7bce477697845cc7e48a77b79c86a7a5b5c7430e449a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.1.10 [INFO] [stderr] Checking regex-syntax v0.2.2 [INFO] [stderr] Compiling pnet v0.2.0 (https://github.com/libpnet/libpnet.git#bd56f572) [INFO] [stderr] Checking memchr v0.1.6 [INFO] [stderr] Checking aho-corasick v0.3.2 [INFO] [stderr] Checking regex v0.1.41 [INFO] [stderr] Checking pnet_macros v0.2.0 (https://github.com/libpnet/libpnet.git#bd56f572) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | #![feature(fmt_radix, plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0; see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:142:41 [INFO] [stdout] | [INFO] [stdout] 142 | #![feature(fmt_radix, plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.33.0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | #[macro_use] extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.rtsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | new_item.attrs.push(quote_attr!(ecx, #[_packet_generator])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | new_item.attrs.push(quote_attr!(ecx, #[derive(Clone, Debug)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_attr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | new_item.attrs.push(quote_attr!(ecx, #[allow(unused_attributes)])); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `radix` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/util.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | format!("({{}} & 0x{})", fmt::radix(self.mask, 16)) [INFO] [stdout] | ^^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `radix` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/util.rs:77:49 [INFO] [stdout] | [INFO] [stdout] 77 | format!("({{packet}} & 0x{})", fmt::radix(self.save_mask, 16)) [INFO] [stdout] | ^^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `radix` in module `fmt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/util.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | format!("({{val}} & 0x{})", fmt::radix(self.value_mask, 16)) [INFO] [stdout] | ^^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `fmt_radix` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/lib.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | #![feature(fmt_radix, plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/decorator.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | Some(name) => name.to_string(), [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/decorator.rs:164:47 [INFO] [stdout] | [INFO] [stdout] 164 | ... .map(|name| name.to_string()) [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 164 | .map(|name: /* Type */| name.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/decorator.rs:305:50 [INFO] [stdout] | [INFO] [stdout] 305 | if name.to_string().chars().any(|c| c.is_lowercase()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 305 | if name.to_string().chars().any(|c: /* Type */| c.is_lowercase()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/bd56f57/pnet_macros/src/decorator.rs:302:54 [INFO] [stdout] | [INFO] [stdout] 302 | let tokens_packet = tts.iter().fold(Vec::new(), |mut acc_packet, tt_token| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | acc_packet.append(&mut modified_packet_tokens); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 302 | let tokens_packet = tts.iter().fold(Vec::new(), |mut acc_packet: /* Type */, tt_token| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0462, E0463, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pnet_macros` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "01bd33162d4ba20a813b7bce477697845cc7e48a77b79c86a7a5b5c7430e449a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01bd33162d4ba20a813b7bce477697845cc7e48a77b79c86a7a5b5c7430e449a", kill_on_drop: false }` [INFO] [stdout] 01bd33162d4ba20a813b7bce477697845cc7e48a77b79c86a7a5b5c7430e449a