[INFO] cloning repository https://github.com/ihciah/clean-dns-bpf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ihciah/clean-dns-bpf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihciah%2Fclean-dns-bpf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihciah%2Fclean-dns-bpf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff3281180e6de2a9d5b9c7914f8fa16c2edf87d7 [INFO] testing ihciah/clean-dns-bpf against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihciah%2Fclean-dns-bpf" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ihciah/clean-dns-bpf on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ihciah/clean-dns-bpf [INFO] finished tweaking git repo https://github.com/ihciah/clean-dns-bpf [INFO] tweaked toml for git repo https://github.com/ihciah/clean-dns-bpf written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ihciah/clean-dns-bpf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c50f69a67319d6c623d752edb3c6915427ba4c237613c73bfab7157c753cd31 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c50f69a67319d6c623d752edb3c6915427ba4c237613c73bfab7157c753cd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c50f69a67319d6c623d752edb3c6915427ba4c237613c73bfab7157c753cd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c50f69a67319d6c623d752edb3c6915427ba4c237613c73bfab7157c753cd31", kill_on_drop: false }` [INFO] [stdout] 8c50f69a67319d6c623d752edb3c6915427ba4c237613c73bfab7157c753cd31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 31722a8cdf779430e39d82c0cd8af2f22fd20eda579ca33d425697fde5a8919d [INFO] running `Command { std: "docker" "start" "-a" "31722a8cdf779430e39d82c0cd8af2f22fd20eda579ca33d425697fde5a8919d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling cty v0.2.1 [INFO] [stderr] Compiling clang-sys v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling redbpf-macros v2.0.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling cexpr v0.5.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.17 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling ufmt v0.1.0 [INFO] [stderr] Compiling bpf-sys v2.0.2 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling tracing-subscriber v0.2.24 [INFO] [stderr] Compiling cargo-bpf v2.0.2 [INFO] [stderr] Compiling redbpf-probes v2.0.2 [INFO] [stdout] error[E0573]: expected type, found local variable `xdp_md` [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:12938 [INFO] [stdout] | [INFO] [stdout] 9 | ... unsafe extern "C" fn bpf_xdp_adjust_head (xdp_md : * mut xdp_md , delta : :: cty :: c_int) -> :: cty :: c_long{ let f : unsafe extern... [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `xdp_md` [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:13038 [INFO] [stdout] | [INFO] [stdout] 9 | ...y :: c_long{ let f : unsafe extern "C" fn (xdp_md : * mut xdp_md , delta : :: cty :: c_int) -> :: cty :: c_long = :: core :: mem :: tr... [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `xdp_md` [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:16322 [INFO] [stdout] | [INFO] [stdout] 9 | ... unsafe extern "C" fn bpf_xdp_adjust_meta (xdp_md : * mut xdp_md , delta : :: cty :: c_int) -> :: cty :: c_long{ let f : unsafe extern... [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `xdp_md` [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:16422 [INFO] [stdout] | [INFO] [stdout] 9 | ...y :: c_long{ let f : unsafe extern "C" fn (xdp_md : * mut xdp_md , delta : :: cty :: c_int) -> :: cty :: c_long = :: core :: mem :: tr... [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `xdp_md` [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:20165 [INFO] [stdout] | [INFO] [stdout] 9 | ... unsafe extern "C" fn bpf_xdp_adjust_tail (xdp_md : * mut xdp_md , delta : :: cty :: c_int) -> :: cty :: c_long{ let f : unsafe extern... [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `xdp_md` [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:20265 [INFO] [stdout] | [INFO] [stdout] 9 | ...y :: c_long{ let f : unsafe extern "C" fn (xdp_md : * mut xdp_md , delta : :: cty :: c_int) -> :: cty :: c_long = :: core :: mem :: tr... [INFO] [stdout] | ^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `bpf_pidns_info` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:39298 [INFO] [stdout] | [INFO] [stdout] 9 | ... ino : __u64 , nsdata : * mut bpf_pidns_info , size : __u32) -> :: cty :: c_long{ let f : unsafe extern "C" fn (dev : __u64 , ino : __... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `bpf_line_info` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_bindings.rs:10:1839924 [INFO] [stdout] | [INFO] [stdout] 10 | ...rive (Debug , Copy , Clone)] pub struct bpf_line_info { pub insn_off : __u32 , pub file_name_off : __u32 , pub line_off : __u32 , pub ... [INFO] [stdout] | ------------------------ similarly named struct `bpf_line_info` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `bpf_pidns_info` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:39423 [INFO] [stdout] | [INFO] [stdout] 9 | ... ino : __u64 , nsdata : * mut bpf_pidns_info , size : __u32) -> :: cty :: c_long = :: core :: mem :: transmute (120usize) ; f (dev , i... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `bpf_line_info` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_bindings.rs:10:1839924 [INFO] [stdout] | [INFO] [stdout] 10 | ...rive (Debug , Copy , Clone)] pub struct bpf_line_info { pub insn_off : __u32 , pub file_name_off : __u32 , pub line_off : __u32 , pub ... [INFO] [stdout] | ------------------------ similarly named struct `bpf_line_info` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `tcp6_sock` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:44263 [INFO] [stdout] | [INFO] [stdout] 9 | ...: * mut :: cty :: c_void) -> * mut tcp6_sock{ let f : unsafe extern "C" fn (sk : * mut :: cty :: c_void) -> * mut tcp6_sock = :: core ... [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `tcp_sock` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_bindings.rs:10:4991609 [INFO] [stdout] | [INFO] [stdout] 10 | ...en_bitfield_unit } } # [repr (C)] pub struct tcp_sock { pub inet_conn : inet_connection_sock , pub tcp_header_len : _cargo_bpf_u16 , p... [INFO] [stdout] | ------------------- similarly named struct `tcp_sock` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `tcp6_sock` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:44342 [INFO] [stdout] | [INFO] [stdout] 9 | ...: * mut :: cty :: c_void) -> * mut tcp6_sock = :: core :: mem :: transmute (136usize) ; f (sk) }# [inline (always)] pub unsafe extern ... [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `tcp_sock` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_bindings.rs:10:4991609 [INFO] [stdout] | [INFO] [stdout] 10 | ...en_bitfield_unit } } # [repr (C)] pub struct tcp_sock { pub inet_conn : inet_connection_sock , pub tcp_header_len : _cargo_bpf_u16 , p... [INFO] [stdout] | ------------------- similarly named struct `tcp_sock` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `udp6_sock` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:45285 [INFO] [stdout] | [INFO] [stdout] 9 | ...: * mut :: cty :: c_void) -> * mut udp6_sock{ let f : unsafe extern "C" fn (sk : * mut :: cty :: c_void) -> * mut udp6_sock = :: core ... [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `udp_sock` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_bindings.rs:10:5337034 [INFO] [stdout] | [INFO] [stdout] 10 | ...! (tw_md5_key))) ; } # [repr (C)] pub struct udp_sock { pub inet : inet_sock , pub pending : :: cty :: c_int , pub corkflag : :: cty :... [INFO] [stdout] | ------------------- similarly named struct `udp_sock` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `udp6_sock` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:45364 [INFO] [stdout] | [INFO] [stdout] 9 | ...: * mut :: cty :: c_void) -> * mut udp6_sock = :: core :: mem :: transmute (140usize) ; f (sk) }# [inline (always)] pub unsafe extern ... [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `udp_sock` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_bindings.rs:10:5337034 [INFO] [stdout] | [INFO] [stdout] 10 | ...! (tw_md5_key))) ; } # [repr (C)] pub struct udp_sock { pub inet : inet_sock , pub pending : :: cty :: c_int , pub corkflag : :: cty :... [INFO] [stdout] | ------------------- similarly named struct `udp_sock` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `btf_ptr` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:48532 [INFO] [stdout] | [INFO] [stdout] 9 | ... :: cty :: c_char , str_size : __u32 , ptr : * mut btf_ptr , btf_ptr_size : __u32 , flags : __u64) -> :: cty :: c_long{ let f : unsafe... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `btf_ptr` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:48694 [INFO] [stdout] | [INFO] [stdout] 9 | ... :: cty :: c_char , str_size : __u32 , ptr : * mut btf_ptr , btf_ptr_size : __u32 , flags : __u64) -> :: cty :: c_long = :: core :: me... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `btf_ptr` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:48953 [INFO] [stdout] | [INFO] [stdout] 9 | ...f_seq_printf_btf (m : * mut seq_file , ptr : * mut btf_ptr , ptr_size : __u32 , flags : __u64) -> :: cty :: c_long{ let f : unsafe ext... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `btf_ptr` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:49081 [INFO] [stdout] | [INFO] [stdout] 9 | ...fe extern "C" fn (m : * mut seq_file , ptr : * mut btf_ptr , ptr_size : __u32 , flags : __u64) -> :: cty :: c_long = :: core :: mem ::... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `bpf_redir_neigh` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:49534 [INFO] [stdout] | [INFO] [stdout] 9 | ...direct_neigh (ifindex : __u32 , params : * mut bpf_redir_neigh , plen : :: cty :: c_int , flags : __u64) -> :: cty :: c_long{ let f : ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `bpf_redir_neigh` in this scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/redbpf-probes-f8a4de9d540d981e/out/gen_helpers.rs:9:49676 [INFO] [stdout] | [INFO] [stdout] 9 | ...xtern "C" fn (ifindex : __u32 , params : * mut bpf_redir_neigh , plen : :: cty :: c_int , flags : __u64) -> :: cty :: c_long = :: core... [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `xdp_md` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/redbpf-probes-2.0.2/src/xdp/mod.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub ctx: *mut xdp_md, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `xdp_md` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/redbpf-probes-2.0.2/src/xdp/mod.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn inner(&self) -> *mut xdp_md { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redbpf-probes` due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "31722a8cdf779430e39d82c0cd8af2f22fd20eda579ca33d425697fde5a8919d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31722a8cdf779430e39d82c0cd8af2f22fd20eda579ca33d425697fde5a8919d", kill_on_drop: false }` [INFO] [stdout] 31722a8cdf779430e39d82c0cd8af2f22fd20eda579ca33d425697fde5a8919d