[INFO] updating cached repository https://github.com/sch00lb0y/rust-bpf-fork [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ccaae5cde90bd459d2d3d490a84cc172b64e77e6 [INFO] checking sch00lb0y/rust-bpf-fork against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsch00lb0y%2Frust-bpf-fork" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sch00lb0y/rust-bpf-fork on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/sch00lb0y/rust-bpf-fork [INFO] finished tweaking git repo https://github.com/sch00lb0y/rust-bpf-fork [INFO] tweaked toml for git repo https://github.com/sch00lb0y/rust-bpf-fork written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/sch00lb0y/rust-bpf-fork already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 002c7b4fa256944a51cb7ba016cbe50b0077ce48e1e5348807f723da68edc5b5 [INFO] running `"docker" "start" "-a" "002c7b4fa256944a51cb7ba016cbe50b0077ce48e1e5348807f723da68edc5b5"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling which v1.0.3 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Checking backtrace-sys v0.1.16 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling cexpr v0.2.2 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling bcc-sys v0.7.0 [INFO] [stderr] Checking bcc v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/opensnoop.rs:46:45 [INFO] [stderr] | [INFO] [stderr] 46 | let mut perf_map = init_perf_map(table, perf_data_callback)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::boxed::Box`, found fn item [INFO] [stderr] | help: store this in the heap by calling `Box::new`: `Box::new(perf_data_callback)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box<(dyn std::ops::Fn() -> std::boxed::Box<(dyn for<'r> std::ops::FnMut(&'r [u8]) + std::marker::Send + 'static)> + 'static)>` [INFO] [stderr] found type `fn() -> std::boxed::Box<(dyn for<'r> std::ops::FnMut(&'r [u8]) + std::marker::Send + 'static)> {perf_data_callback}` [INFO] [stderr] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `bcc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "002c7b4fa256944a51cb7ba016cbe50b0077ce48e1e5348807f723da68edc5b5"` [INFO] running `"docker" "rm" "-f" "002c7b4fa256944a51cb7ba016cbe50b0077ce48e1e5348807f723da68edc5b5"` [INFO] [stdout] 002c7b4fa256944a51cb7ba016cbe50b0077ce48e1e5348807f723da68edc5b5