[INFO] cloning repository https://github.com/bentwire/stm32f072-usb-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bentwire/stm32f072-usb-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a76e98b6408fd1d5b635020ef4552cffa45dd4f [INFO] testing bentwire/stm32f072-usb-test against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/bentwire/stm32f072-usb-test [INFO] finished tweaking git repo https://github.com/bentwire/stm32f072-usb-test [INFO] tweaked toml for git repo https://github.com/bentwire/stm32f072-usb-test written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/bentwire/stm32f072-usb-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/bentwire/digital-filter.git` [INFO] [stderr] Updating git repository `https://github.com/mvirkkunen/usbd-serial` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfbf5a658bd69a42d01120869b27fc3c569faa133a5caf8543e283b32264066b [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" "bfbf5a658bd69a42d01120869b27fc3c569faa133a5caf8543e283b32264066b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfbf5a658bd69a42d01120869b27fc3c569faa133a5caf8543e283b32264066b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfbf5a658bd69a42d01120869b27fc3c569faa133a5caf8543e283b32264066b", kill_on_drop: false }` [INFO] [stdout] bfbf5a658bd69a42d01120869b27fc3c569faa133a5caf8543e283b32264066b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35a27edadc682b3e65afafb2d7cc9f1555d71ee19c65ca7d1cbb4a09447d624b [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" "35a27edadc682b3e65afafb2d7cc9f1555d71ee19c65ca7d1cbb4a09447d624b", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling vcell v0.1.0 [INFO] [stderr] Compiling cortex-m v0.6.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.8 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling stm32f0 v0.7.1 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.3 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling usb-device v0.2.1 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling as-slice v0.1.0 [INFO] [stderr] Compiling aligned v0.3.1 [INFO] [stderr] Compiling panic-semihosting v0.5.2 [INFO] [stderr] Compiling usbd-serial v0.1.0 (https://github.com/mvirkkunen/usbd-serial#cb18cef7) [INFO] [stderr] Compiling digital-filter v0.1.0 (https://github.com/bentwire/digital-filter.git#47339eff) [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Compiling owned-singleton-macros v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Compiling owned-singleton v0.1.0 [INFO] [stderr] Compiling stm32f0xx-hal v0.14.1 [INFO] [stderr] Compiling stm32-usbd v0.2.1 [INFO] [stderr] Compiling stm32f072-usb-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dac` [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f0::stm32f0x2::{dac, Interrupt}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digital_filter::DigitalFilter` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use digital_filter::DigitalFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> src/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | use core::{cell::RefCell, fmt::Write, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-cc31f8e399e4ba09/out" "-L" "/opt/rustwide/target/debug/build/stm32f0-137c6df6a624c26b/out" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32_usbd-f761fbe4c165fb49.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-4717d785cd293503.rlib" "/opt/rustwide/target/debug/deps/libaligned-0fc5a6942f0d3b41.rlib" "/opt/rustwide/target/debug/deps/libdigital_filter-1998fe803972c6b1.rlib" "/opt/rustwide/target/debug/deps/libheapless-799d49151ee1e5ac.rlib" "/opt/rustwide/target/debug/deps/libhash32-0a020516052ad63f.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-b7a89acde847f83f.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-42107de36d61b16b.rlib" "/opt/rustwide/target/debug/deps/libstm32f0xx_hal-3d1de9be29555eea.rlib" "/opt/rustwide/target/debug/deps/libcast-5b2dbde7fc6bdad8.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-e7a0d5ebbb7d8c71.rlib" "/opt/rustwide/target/debug/deps/libvoid-9068ec32ed437f13.rlib" "/opt/rustwide/target/debug/deps/libnb-b3bc912a7bbf8a39.rlib" "/opt/rustwide/target/debug/deps/libusbd_serial-9a4492bec9a9fc27.rlib" "/opt/rustwide/target/debug/deps/libusb_device-6c6cecdb8e9900d1.rlib" "/opt/rustwide/target/debug/deps/libstm32f0-024f67421a803a89.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-db25af17def22a68.rlib" "/opt/rustwide/target/debug/deps/libr0-280de46ad07f7ebb.rlib" "-Wl,--start-group" "/opt/rustwide/target/debug/deps/libpanic_semihosting-915fed5fb24a4a34.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_semihosting-c58ca4422ac67f35.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-01bcd1733b0b9181.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-6b9f038c1a06a5f1.rlib" "/opt/rustwide/target/debug/deps/libvcell-8524c0b3de2ec9a8.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-abc4bd6583fe998b.rlib" "/opt/rustwide/target/debug/deps/libaligned-f274dac5da6c47b4.rlib" "/opt/rustwide/target/debug/deps/libas_slice-9fe270f69743ee7d.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-c2c8c3cb81d22967.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-9678a8c204ec06fc.rlib" "/opt/rustwide/target/debug/deps/libtypenum-3753b225230e2e34.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': [INFO] [stdout] (.text+0x16): undefined reference to `__libc_csu_fini' [INFO] [stdout] /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init' [INFO] [stdout] /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.0.rcgu.o: in function `usb_device::device::UsbDevice::build': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/usb-device-0.2.1/src/device.rs:82: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/usb-device-0.2.1/src/device.rs:82: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.1.rcgu.o: in function `core::mem::maybe_uninit::MaybeUninit::assume_init': [INFO] [stdout] /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/mem/maybe_uninit.rs:600: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.1.rcgu.o: in function `core::mem::manually_drop::ManuallyDrop::into_inner': [INFO] [stdout] /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/mem/manually_drop.rs:88: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.1.rcgu.o: in function `stm32_usbd::bus::UsbBus::new': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32-usbd-0.2.1/src/bus.rs:38: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-d57478317794d988.stm32f072_usb_test.03f8c333-cgu.1.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32-usbd-0.2.1/src/bus.rs:27: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-c58ca4422ac67f35.rlib(cortex_m_semihosting-c58ca4422ac67f35.cortex_m_semihosting.3b2358a8-cgu.5.rcgu.o): in function `core::fmt::Write::write_char': [INFO] [stdout] /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:164: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-c58ca4422ac67f35.rlib(cortex_m_semihosting-c58ca4422ac67f35.cortex_m_semihosting.3b2358a8-cgu.5.rcgu.o): in function `core::fmt::Write::write_fmt': [INFO] [stdout] /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:187: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-c58ca4422ac67f35.rlib(cortex_m_semihosting-c58ca4422ac67f35.cortex_m_semihosting.3b2358a8-cgu.5.rcgu.o): in function `<&mut W as core::fmt::Write>::write_fmt': [INFO] [stdout] /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:202: undefined reference to `memcpy' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f072-usb-test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "35a27edadc682b3e65afafb2d7cc9f1555d71ee19c65ca7d1cbb4a09447d624b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a27edadc682b3e65afafb2d7cc9f1555d71ee19c65ca7d1cbb4a09447d624b", kill_on_drop: false }` [INFO] [stdout] 35a27edadc682b3e65afafb2d7cc9f1555d71ee19c65ca7d1cbb4a09447d624b