[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/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.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hash32 v0.1.0 [INFO] [stderr] Downloaded panic-semihosting v0.5.2 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded owned-singleton-macros v0.1.0 [INFO] [stderr] Downloaded owned-singleton v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.3 [INFO] [stderr] Downloaded stm32f0 v0.7.1 [INFO] [stderr] Downloaded stm32-usbd v0.2.1 [INFO] [stderr] Downloaded stm32f0xx-hal v0.14.1 [INFO] [stderr] Downloaded usb-device v0.2.1 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83371ed699c23fc8ee8592f3f388a7551b6bc634841c3e4ad29b4967e31da06a [INFO] running `Command { std: "docker" "start" "-a" "83371ed699c23fc8ee8592f3f388a7551b6bc634841c3e4ad29b4967e31da06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83371ed699c23fc8ee8592f3f388a7551b6bc634841c3e4ad29b4967e31da06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83371ed699c23fc8ee8592f3f388a7551b6bc634841c3e4ad29b4967e31da06a", kill_on_drop: false }` [INFO] [stdout] 83371ed699c23fc8ee8592f3f388a7551b6bc634841c3e4ad29b4967e31da06a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a68d2741b535f5f18c9f9e8d6ceecd979cfdbb84bfb69988a65a2dbd60863511 [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" "a68d2741b535f5f18c9f9e8d6ceecd979cfdbb84bfb69988a65a2dbd60863511", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.35 [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 heapless v0.4.4 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32f0 v0.7.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.2 [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 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 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 generic-array v0.12.0 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling as-slice v0.1.0 [INFO] [stderr] Compiling aligned v0.3.1 [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 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-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-3f5a509f381f56e8/out" "-L" "/opt/rustwide/target/debug/build/stm32f0-11222ed98eaf5445/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32_usbd-67e415d93837ed59.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-22259234a81ee240.rlib" "/opt/rustwide/target/debug/deps/libaligned-7f93a16c9f44f785.rlib" "/opt/rustwide/target/debug/deps/libdigital_filter-7afe3f53af43206a.rlib" "/opt/rustwide/target/debug/deps/libheapless-5427d48cf7388d30.rlib" "/opt/rustwide/target/debug/deps/libhash32-c2c03f0c89fa49d4.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-ad712bbea4d645b7.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-3209d27532d38bdc.rlib" "/opt/rustwide/target/debug/deps/libstm32f0xx_hal-7cd66cd698470010.rlib" "/opt/rustwide/target/debug/deps/libcast-004d5ab1e7a03035.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-c097f1d6300781d2.rlib" "/opt/rustwide/target/debug/deps/libvoid-813145497b3a6b49.rlib" "/opt/rustwide/target/debug/deps/libnb-8c5618447c0977f7.rlib" "/opt/rustwide/target/debug/deps/libusbd_serial-4b993b68f54e5cf3.rlib" "/opt/rustwide/target/debug/deps/libusb_device-567c5d94e20979cc.rlib" "/opt/rustwide/target/debug/deps/libstm32f0-7fb8cfde806f451e.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-d2a5b57b187853c7.rlib" "/opt/rustwide/target/debug/deps/libr0-333fb25eeca2c779.rlib" "-Wl,--start-group" "/opt/rustwide/target/debug/deps/libpanic_semihosting-33548be95a815f70.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_semihosting-d579529ee8328db8.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-d3ce349087cf1f4b.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-1da2ede4ce48dc6d.rlib" "/opt/rustwide/target/debug/deps/libvcell-5bafbede7add6c5e.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-445780391ddceaf6.rlib" "/opt/rustwide/target/debug/deps/libaligned-bd46dbb6dd2b1446.rlib" "/opt/rustwide/target/debug/deps/libas_slice-d0819383f634d3a4.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-8109ab9d671a165c.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-fb24aff339be5b88.rlib" "/opt/rustwide/target/debug/deps/libtypenum-257afb1372e18b9e.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd" "-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-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-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-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.1.rcgu.o: in function `core::mem::maybe_uninit::MaybeUninit::assume_init': [INFO] [stdout] /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/mem/maybe_uninit.rs:633: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.1.rcgu.o: in function `core::mem::manually_drop::ManuallyDrop::into_inner': [INFO] [stdout] /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/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-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.1.rcgu.o: in function `usb_device::control_pipe::ControlPipe::new': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/usb-device-0.2.1/src/control_pipe.rs:39: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-18eea21fa8c404cd.stm32f072_usb_test.b42360fc-cgu.12.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/usb-device-0.2.1/src/bus.rs:150: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-d579529ee8328db8.rlib(cortex_m_semihosting-d579529ee8328db8.cortex_m_semihosting.124f452b-cgu.6.rcgu.o): in function `core::fmt::Write::write_char': [INFO] [stdout] /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:163: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-d579529ee8328db8.rlib(cortex_m_semihosting-d579529ee8328db8.cortex_m_semihosting.124f452b-cgu.6.rcgu.o): in function `core::fmt::Write::write_fmt': [INFO] [stdout] /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:186: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-d579529ee8328db8.rlib(cortex_m_semihosting-d579529ee8328db8.cortex_m_semihosting.124f452b-cgu.6.rcgu.o): in function `<&mut W as core::fmt::Write>::write_fmt': [INFO] [stdout] /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/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" "a68d2741b535f5f18c9f9e8d6ceecd979cfdbb84bfb69988a65a2dbd60863511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68d2741b535f5f18c9f9e8d6ceecd979cfdbb84bfb69988a65a2dbd60863511", kill_on_drop: false }` [INFO] [stdout] a68d2741b535f5f18c9f9e8d6ceecd979cfdbb84bfb69988a65a2dbd60863511