[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a76e98b6408fd1d5b635020ef4552cffa45dd4f [INFO] testing bentwire/stm32f072-usb-test against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/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-4/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 411ebaf9008049708371bdffb2eec70385beb6ed84883b0e471c9d57bb17fc88 [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" "411ebaf9008049708371bdffb2eec70385beb6ed84883b0e471c9d57bb17fc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411ebaf9008049708371bdffb2eec70385beb6ed84883b0e471c9d57bb17fc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411ebaf9008049708371bdffb2eec70385beb6ed84883b0e471c9d57bb17fc88", kill_on_drop: false }` [INFO] [stdout] 411ebaf9008049708371bdffb2eec70385beb6ed84883b0e471c9d57bb17fc88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07980a1df47ad9d4fe36bc674c0ae79927597e3b68e675701783a11f32878970 [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" "07980a1df47ad9d4fe36bc674c0ae79927597e3b68e675701783a11f32878970", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cortex-m v0.6.0 [INFO] [stderr] Compiling vcell v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.8 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling void v1.0.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 rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling generic-array v0.11.1 [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 digital-filter v0.1.0 (https://github.com/bentwire/digital-filter.git#47339eff) [INFO] [stderr] Compiling usbd-serial v0.1.0 (https://github.com/mvirkkunen/usbd-serial#cb18cef7) [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 code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-53b584e303b2917c/out" "-L" "/opt/rustwide/target/debug/build/stm32f0-2c2a75e03e61fc26/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32_usbd-de19e569134ee2d1.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-9a55db2833257f64.rlib" "/opt/rustwide/target/debug/deps/libaligned-c6033af5914afcee.rlib" "/opt/rustwide/target/debug/deps/libdigital_filter-a15714c705907de3.rlib" "/opt/rustwide/target/debug/deps/libheapless-1ef1a26e1ced54ce.rlib" "/opt/rustwide/target/debug/deps/libhash32-8787a0e08e75accd.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-5db458b433d6e0f8.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-9795576a4a70ed0e.rlib" "/opt/rustwide/target/debug/deps/libstm32f0xx_hal-66c6e0a4a1fa0ba0.rlib" "/opt/rustwide/target/debug/deps/libcast-6552b8c54891fd00.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-14d55a7a150e6d9d.rlib" "/opt/rustwide/target/debug/deps/libvoid-c4eacd33be7090fa.rlib" "/opt/rustwide/target/debug/deps/libnb-cfbdfc57e7d22943.rlib" "/opt/rustwide/target/debug/deps/libusbd_serial-88edaf81815769e6.rlib" "/opt/rustwide/target/debug/deps/libusb_device-0b2ed77235553f7c.rlib" "/opt/rustwide/target/debug/deps/libstm32f0-f3c6c8ea32973f83.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-76854c58a7fb3bb7.rlib" "/opt/rustwide/target/debug/deps/libr0-613a06b78bb046d2.rlib" "-Wl,--start-group" "/opt/rustwide/target/debug/deps/libpanic_semihosting-702c6d5dae178201.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_semihosting-8edb81fbf3201eb3.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-0b0b6a8eb3fd15ac.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-03ad8c0e623a4f94.rlib" "/opt/rustwide/target/debug/deps/libvcell-4f52e946ed92c108.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-2c37a049d6781a8e.rlib" "/opt/rustwide/target/debug/deps/libaligned-8acf8afcc682a147.rlib" "/opt/rustwide/target/debug/deps/libas_slice-9e30f508cbe11a06.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-1d95331c4145d335.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-ac26799d47dca223.rlib" "/opt/rustwide/target/debug/deps/libtypenum-99131a37b9a5e3f1.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" [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-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-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:84: 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/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-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.1.rcgu.o: in function `core::mem::maybe_uninit::MaybeUninit::assume_init': [INFO] [stdout] /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/mem/maybe_uninit.rs:498: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.1.rcgu.o: in function `core::mem::manually_drop::ManuallyDrop::into_inner': [INFO] [stdout] /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/mem/manually_drop.rs:101: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-0c539af8afd0f785.stm32f072_usb_test.6aej72qx-cgu.1.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/usb-device-0.2.1/src/control_pipe.rs:39: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-8edb81fbf3201eb3.rlib(cortex_m_semihosting-8edb81fbf3201eb3.cortex_m_semihosting.9044ymrs-cgu.1.rcgu.o): in function `core::fmt::Write::write_char': [INFO] [stdout] /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/fmt/mod.rs:168: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-8edb81fbf3201eb3.rlib(cortex_m_semihosting-8edb81fbf3201eb3.cortex_m_semihosting.9044ymrs-cgu.1.rcgu.o): in function `core::fmt::Write::write_fmt': [INFO] [stdout] /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/fmt/mod.rs:193: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-8edb81fbf3201eb3.rlib(cortex_m_semihosting-8edb81fbf3201eb3.cortex_m_semihosting.9044ymrs-cgu.1.rcgu.o): in function `<&mut W as core::fmt::Write>::write_fmt': [INFO] [stdout] /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/fmt/mod.rs:208: undefined reference to `memcpy' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [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" "07980a1df47ad9d4fe36bc674c0ae79927597e3b68e675701783a11f32878970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07980a1df47ad9d4fe36bc674c0ae79927597e3b68e675701783a11f32878970", kill_on_drop: false }` [INFO] [stdout] 07980a1df47ad9d4fe36bc674c0ae79927597e3b68e675701783a11f32878970