[INFO] cloning repository https://github.com/ytti/dynlink-issue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ytti/dynlink-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytti%2Fdynlink-issue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytti%2Fdynlink-issue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c9a5386395ae6933abdc33e2ac9cc5a1851756a [INFO] checking ytti/dynlink-issue against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytti%2Fdynlink-issue" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ytti/dynlink-issue [INFO] finished tweaking git repo https://github.com/ytti/dynlink-issue [INFO] tweaked toml for git repo https://github.com/ytti/dynlink-issue written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ytti/dynlink-issue on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ytti/dynlink-issue 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `src/foo.rs` was erroneously implicitly accepted for binary `foo`, [INFO] [stderr] please set bin.path in Cargo.toml [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.0 [INFO] [stderr] Downloaded memchr v0.1.3 [INFO] [stderr] Downloaded libc v0.1.8 [INFO] [stderr] Downloaded regex-syntax v0.2.1 [INFO] [stderr] Downloaded regex v0.1.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b948275bbf26cfb89e5cf5934a88445788376c3955d377316cddb67729b440b [INFO] running `Command { std: "docker" "start" "-a" "8b948275bbf26cfb89e5cf5934a88445788376c3955d377316cddb67729b440b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b948275bbf26cfb89e5cf5934a88445788376c3955d377316cddb67729b440b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b948275bbf26cfb89e5cf5934a88445788376c3955d377316cddb67729b440b", kill_on_drop: false }` [INFO] [stdout] 8b948275bbf26cfb89e5cf5934a88445788376c3955d377316cddb67729b440b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2479b4c5071d73b0a76b36c58a770105d3db993425a864aee885257258ddc3d [INFO] running `Command { std: "docker" "start" "-a" "f2479b4c5071d73b0a76b36c58a770105d3db993425a864aee885257258ddc3d", kill_on_drop: false }` [INFO] [stderr] warning: path `src/foo.rs` was erroneously implicitly accepted for binary `foo`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.1.8 [INFO] [stderr] Checking regex-syntax v0.2.1 [INFO] [stderr] Compiling pnet v0.1.0 (https://github.com/libpnet/libpnet.git#31fefb3a) [INFO] [stderr] Checking memchr v0.1.3 [INFO] [stderr] Checking aho-corasick v0.3.0 [INFO] [stderr] Checking regex v0.1.41 [INFO] [stderr] Checking pnet_macros v0.1.0 (https://github.com/libpnet/libpnet.git#31fefb3a) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/31fefb3/pnet_macros/src/lib.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | #![feature(append, 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/31fefb3/pnet_macros/src/lib.rs:142:49 [INFO] [stdout] | [INFO] [stdout] 142 | #![feature(append, 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/31fefb3/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/31fefb3/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/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 `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/31fefb3/pnet_macros/src/lint.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/libpnet-0f6666b166df5f5b/31fefb3/pnet_macros/src/lint.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | lint_array!(PACKET_LINT) [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/31fefb3/pnet_macros/src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | new_item.attrs.push(quote_attr!(ecx, #[_packet_lint])); [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/31fefb3/pnet_macros/src/lib.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | 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/31fefb3/pnet_macros/src/lib.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | 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/31fefb3/pnet_macros/src/lib.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | 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/31fefb3/pnet_macros/src/lib.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | #[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/31fefb3/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/31fefb3/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/31fefb3/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/31fefb3/pnet_macros/src/lib.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | #![feature(append, fmt_radix, plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0462, E0463, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pnet_macros` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "f2479b4c5071d73b0a76b36c58a770105d3db993425a864aee885257258ddc3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2479b4c5071d73b0a76b36c58a770105d3db993425a864aee885257258ddc3d", kill_on_drop: false }` [INFO] [stdout] f2479b4c5071d73b0a76b36c58a770105d3db993425a864aee885257258ddc3d