[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test 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-9/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-9/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" "+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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f47492de716f58000e190549551011d616883d2aca8ef3a74d2a9872358ab971 [INFO] running `Command { std: "docker" "start" "-a" "f47492de716f58000e190549551011d616883d2aca8ef3a74d2a9872358ab971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f47492de716f58000e190549551011d616883d2aca8ef3a74d2a9872358ab971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f47492de716f58000e190549551011d616883d2aca8ef3a74d2a9872358ab971", kill_on_drop: false }` [INFO] [stdout] f47492de716f58000e190549551011d616883d2aca8ef3a74d2a9872358ab971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec5f26ad2d9246b74f5767039d5d6018a7669946df3131c5ba11b71a4109130 [INFO] running `Command { std: "docker" "start" "-a" "3ec5f26ad2d9246b74f5767039d5d6018a7669946df3131c5ba11b71a4109130", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [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 cortex-m v0.5.10 [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-semihosting v0.3.3 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling usb-device v0.2.1 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Compiling cast v0.2.2 [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 rand v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling bare-metal v0.2.4 [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 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 panic-semihosting v0.5.2 [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-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-1e1e1baf26a493de/out" "-L" "/opt/rustwide/target/debug/build/stm32f0-254f317c62ac4b7b/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32_usbd-b64c52212dcc5c8d.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-eaaa16aa25d9ae40.rlib" "/opt/rustwide/target/debug/deps/libaligned-72c58c10870ba414.rlib" "/opt/rustwide/target/debug/deps/libdigital_filter-f09190550242fa09.rlib" "/opt/rustwide/target/debug/deps/libheapless-adcbc3e5a5ec0e4c.rlib" "/opt/rustwide/target/debug/deps/libhash32-51deb7287796f5cd.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-1d99648f65c19679.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-200e000851dc7571.rlib" "/opt/rustwide/target/debug/deps/libstm32f0xx_hal-00ad2aa7bbb5fe1a.rlib" "/opt/rustwide/target/debug/deps/libcast-fb71f3ef6607fe7b.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-e182e3665f16dc3e.rlib" "/opt/rustwide/target/debug/deps/libvoid-a07839a7d6e8f590.rlib" "/opt/rustwide/target/debug/deps/libnb-694e89355928045a.rlib" "/opt/rustwide/target/debug/deps/libusbd_serial-8e564b09a3de7bfa.rlib" "/opt/rustwide/target/debug/deps/libusb_device-d7ecaf0b0cef0b56.rlib" "/opt/rustwide/target/debug/deps/libstm32f0-62c2aed0c65e26d4.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-6878f47303d06f81.rlib" "/opt/rustwide/target/debug/deps/libr0-a4ff98f0e81f1574.rlib" "-Wl,--start-group" "/opt/rustwide/target/debug/deps/libpanic_semihosting-4a674c5ce128750c.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_semihosting-a8953bf370be5344.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-6349fd16854a5dab.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-991d6ba608a6ef0e.rlib" "/opt/rustwide/target/debug/deps/libvcell-060cc43968bbcbed.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-e72d83b391c98932.rlib" "/opt/rustwide/target/debug/deps/libaligned-a750baa00405b395.rlib" "/opt/rustwide/target/debug/deps/libas_slice-ae48fd9faf2cc381.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-07e46b2bcf43dc15.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-9a04f63e018c5f74.rlib" "/opt/rustwide/target/debug/deps/libtypenum-796846c92a5d0c5d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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-93fcd1762e362645.stm32f072_usb_test.fae4f002-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-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.1.rcgu.o: in function `core::mem::maybe_uninit::MaybeUninit::assume_init': [INFO] [stdout] /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/mem/maybe_uninit.rs:634: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.1.rcgu.o: in function `core::mem::manually_drop::ManuallyDrop::into_inner': [INFO] [stdout] /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/mem/manually_drop.rs:89: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-93fcd1762e362645.stm32f072_usb_test.fae4f002-cgu.1.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32-usbd-0.2.1/src/bus.rs:38: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-a8953bf370be5344.rlib(cortex_m_semihosting-a8953bf370be5344.cortex_m_semihosting.1621c5c0-cgu.1.rcgu.o): in function `core::fmt::Write::write_char': [INFO] [stdout] /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:163: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-a8953bf370be5344.rlib(cortex_m_semihosting-a8953bf370be5344.cortex_m_semihosting.1621c5c0-cgu.1.rcgu.o): in function `core::fmt::Write::write_fmt': [INFO] [stdout] /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:186: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-a8953bf370be5344.rlib(cortex_m_semihosting-a8953bf370be5344.cortex_m_semihosting.1621c5c0-cgu.1.rcgu.o): in function `<&mut W as core::fmt::Write>::write_fmt': [INFO] [stdout] /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:201: 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` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ec5f26ad2d9246b74f5767039d5d6018a7669946df3131c5ba11b71a4109130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec5f26ad2d9246b74f5767039d5d6018a7669946df3131c5ba11b71a4109130", kill_on_drop: false }` [INFO] [stdout] 3ec5f26ad2d9246b74f5767039d5d6018a7669946df3131c5ba11b71a4109130