[INFO] crate teensy3 0.2.0 is already in cache [INFO] checking teensy3-0.2.0 against master#446e5e57b667c841ba3ebb4b41b44fb98bd3af4b for pr-65294 [INFO] extracting crate teensy3 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate teensy3 0.2.0 on toolchain 446e5e57b667c841ba3ebb4b41b44fb98bd3af4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate teensy3 0.2.0 [INFO] removed path dependency teensy3-sys from crates.io crate teensy3 0.2.0 [INFO] finished tweaking crates.io crate teensy3 0.2.0 [INFO] tweaked toml for crates.io crate teensy3 0.2.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "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] 9da5a4bd206fb79855cccbf42acb987b9499b3ab3ed6bd942b8c11e5f808e3b5 [INFO] running `"docker" "start" "-a" "9da5a4bd206fb79855cccbf42acb987b9499b3ab3ed6bd942b8c11e5f808e3b5"` [INFO] [stderr] Compiling clang-sys v0.15.2 [INFO] [stderr] Compiling bindgen v0.23.1 [INFO] [stderr] Compiling teensy3-sys v0.2.0 [INFO] [stderr] error: failed to run custom build command for `teensy3-sys v0.2.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/teensy3-sys-c9c20b286f3a06e6/build-script-build` (exit code: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/teensy3-sys-4cabbac38ee13c7b/out [INFO] [stderr] cargo:rustc-link-lib=static=teensyduino [INFO] [stderr] warning: argument unused during compilation: '-mthumb' [-Wunused-command-line-argument], err: false [INFO] [stderr] warning: argument unused during compilation: '-mcpu=cortex-m4' [-Wunused-command-line-argument], err: false [INFO] [stderr] cores/teensy3/new.h:14:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch], err: false [INFO] [stderr] cores/teensy3/new.h:15:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch], err: false [INFO] [stderr] cores/teensy3/avr_emulation.h:226:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:230:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:234:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:238:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:242:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:246:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:250:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:254:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:260:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:265:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:270:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:275:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:280:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:285:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:290:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:295:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:445:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:449:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] cores/teensy3/avr_emulation.h:453:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true [INFO] [stderr] fatal error: too many errors emitted, stopping now [-ferror-limit=], err: true [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] warning: argument unused during compilation: '-mthumb' [-Wunused-command-line-argument] [INFO] [stderr] warning: argument unused during compilation: '-mcpu=cortex-m4' [-Wunused-command-line-argument] [INFO] [stderr] cores/teensy3/new.h:14:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch] [INFO] [stderr] cores/teensy3/new.h:15:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch] [INFO] [stderr] cores/teensy3/avr_emulation.h:226:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:230:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:234:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:238:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:242:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:246:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:250:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:254:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:260:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:265:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:270:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:275:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:280:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:285:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:290:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:295:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:445:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:449:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] cores/teensy3/avr_emulation.h:453:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [INFO] [stderr] fatal error: too many errors emitted, stopping now [-ferror-limit=] [INFO] [stderr] thread 'main' panicked at 'error when generating bindings: ()', src/libcore/result.rs:1165:5 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55a93274ef54 - backtrace::backtrace::libunwind::trace::hf7e4e82efae30884 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/libunwind.rs:88 [INFO] [stderr] 1: 0x55a93274ef54 - backtrace::backtrace::trace_unsynchronized::h0b0315e5422bf5c5 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x55a93274ef54 - std::sys_common::backtrace::_print_fmt::ha6354f2d842cef76 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:77 [INFO] [stderr] 3: 0x55a93274ef54 - ::fmt::hd54b1f5cf3adafe0 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:61 [INFO] [stderr] 4: 0x55a932772eac - core::fmt::write::hc967ac066a03859c [INFO] [stderr] at src/libcore/fmt/mod.rs:1028 [INFO] [stderr] 5: 0x55a93274b107 - std::io::Write::write_fmt::h5b4ad0ea64c4a019 [INFO] [stderr] at src/libstd/io/mod.rs:1412 [INFO] [stderr] 6: 0x55a93275132e - std::sys_common::backtrace::_print::h51b22d5c4d74bb83 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:65 [INFO] [stderr] 7: 0x55a93275132e - std::sys_common::backtrace::print::h82f50a23f8a5bfab [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:50 [INFO] [stderr] 8: 0x55a93275132e - std::panicking::default_hook::{{closure}}::h7ceeb6dc02a24c61 [INFO] [stderr] at src/libstd/panicking.rs:189 [INFO] [stderr] 9: 0x55a932751031 - std::panicking::default_hook::h123f2472ae8cf2b5 [INFO] [stderr] at src/libstd/panicking.rs:206 [INFO] [stderr] 10: 0x55a9327519c5 - std::panicking::rust_panic_with_hook::hf57d1dbfa9883023 [INFO] [stderr] at src/libstd/panicking.rs:469 [INFO] [stderr] 11: 0x55a932751562 - std::panicking::continue_panic_fmt::he2a5eeeb3a084826 [INFO] [stderr] at src/libstd/panicking.rs:376 [INFO] [stderr] 12: 0x55a932751456 - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:303 [INFO] [stderr] 13: 0x55a93276fc4a - core::panicking::panic_fmt::h37f4bfee9976e4e2 [INFO] [stderr] at src/libcore/panicking.rs:84 [INFO] [stderr] 14: 0x55a93276fd47 - core::result::unwrap_failed::h5532a76e6fe03f89 [INFO] [stderr] at src/libcore/result.rs:1165 [INFO] [stderr] 15: 0x55a931f00692 - core::result::Result::expect::h5529a3bdf3150e0e [INFO] [stderr] at /rustc/446e5e57b667c841ba3ebb4b41b44fb98bd3af4b/src/libcore/result.rs:960 [INFO] [stderr] 16: 0x55a931ef7f42 - build_script_build::main::hdddd82fc9f139f71 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teensy3-sys-0.2.0/build.rs:92 [INFO] [stderr] 17: 0x55a931efa8a0 - std::rt::lang_start::{{closure}}::hea4509f919461f3e [INFO] [stderr] at /rustc/446e5e57b667c841ba3ebb4b41b44fb98bd3af4b/src/libstd/rt.rs:61 [INFO] [stderr] 18: 0x55a9327513f3 - std::rt::lang_start_internal::{{closure}}::hbb846b1e183cc6f4 [INFO] [stderr] at src/libstd/rt.rs:48 [INFO] [stderr] 19: 0x55a9327513f3 - std::panicking::try::do_call::h63eace360fa6cc01 [INFO] [stderr] at src/libstd/panicking.rs:288 [INFO] [stderr] 20: 0x55a93275833a - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:80 [INFO] [stderr] 21: 0x55a932751ebd - std::panicking::try::h3b1bd45eacecf915 [INFO] [stderr] at src/libstd/panicking.rs:267 [INFO] [stderr] 22: 0x55a932751ebd - std::panic::catch_unwind::hfbf4a2b77b10aaa4 [INFO] [stderr] at src/libstd/panic.rs:396 [INFO] [stderr] 23: 0x55a932751ebd - std::rt::lang_start_internal::h3d7248e04377da19 [INFO] [stderr] at src/libstd/rt.rs:47 [INFO] [stderr] 24: 0x55a931efa879 - std::rt::lang_start::he3df8eaec4f843d7 [INFO] [stderr] at /rustc/446e5e57b667c841ba3ebb4b41b44fb98bd3af4b/src/libstd/rt.rs:61 [INFO] [stderr] 25: 0x55a931ef86ca - main [INFO] [stderr] 26: 0x7f30f5e99b97 - __libc_start_main [INFO] [stderr] 27: 0x55a931ef688a - _start [INFO] [stderr] 28: 0x0 - [INFO] [stderr] [INFO] running `"docker" "inspect" "9da5a4bd206fb79855cccbf42acb987b9499b3ab3ed6bd942b8c11e5f808e3b5"` [INFO] running `"docker" "rm" "-f" "9da5a4bd206fb79855cccbf42acb987b9499b3ab3ed6bd942b8c11e5f808e3b5"` [INFO] [stdout] 9da5a4bd206fb79855cccbf42acb987b9499b3ab3ed6bd942b8c11e5f808e3b5