[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#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/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-3/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.3.1 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [INFO] [stderr] Downloaded cortex-m v0.6.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.8 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.3 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded stm32-usbd v0.2.1 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded stm32f0 v0.7.1 [INFO] [stderr] Downloaded panic-semihosting v0.5.2 [INFO] [stderr] Downloaded usb-device v0.2.1 [INFO] [stderr] Downloaded as-slice v0.1.0 [INFO] [stderr] Downloaded stm32f0xx-hal v0.14.1 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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] 04eb4612483c1a87e67bce9d7e179ccd24af32152f0aac97f0ba152bec688b6c [INFO] running `Command { std: "docker" "start" "-a" "04eb4612483c1a87e67bce9d7e179ccd24af32152f0aac97f0ba152bec688b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04eb4612483c1a87e67bce9d7e179ccd24af32152f0aac97f0ba152bec688b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04eb4612483c1a87e67bce9d7e179ccd24af32152f0aac97f0ba152bec688b6c", kill_on_drop: false }` [INFO] [stdout] 04eb4612483c1a87e67bce9d7e179ccd24af32152f0aac97f0ba152bec688b6c [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94ff68d26be2a1374bc1b551f11628b025f9cc3aa91795ce058625a7c9331e77 [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" "94ff68d26be2a1374bc1b551f11628b025f9cc3aa91795ce058625a7c9331e77", kill_on_drop: false }` [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 syn v0.15.35 [INFO] [stderr] Compiling rand_core v0.4.0 [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 r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.4.4 [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 nb v0.1.2 [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 cast v0.2.2 [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 typenum v1.10.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling hash32 v0.1.0 [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" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-521b84c2bc1b7497/out" "-L" "/opt/rustwide/target/debug/build/stm32f0-8772a93f524e55a7/out" "-L" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32_usbd-8ea8ae64a2d3635c.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-cdf2ad6b927ead24.rlib" "/opt/rustwide/target/debug/deps/libaligned-6b0fab7289a16d2a.rlib" "/opt/rustwide/target/debug/deps/libdigital_filter-0748284c6495fc8d.rlib" "/opt/rustwide/target/debug/deps/libheapless-61df3108c849e288.rlib" "/opt/rustwide/target/debug/deps/libhash32-0862a4fc7372a1ea.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-0be329ee79028aec.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-10e9fd14b5a58977.rlib" "/opt/rustwide/target/debug/deps/libstm32f0xx_hal-a2df28fbd6846897.rlib" "/opt/rustwide/target/debug/deps/libcast-9daca8d388dca2c9.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-87e4fb2cbbad5d99.rlib" "/opt/rustwide/target/debug/deps/libvoid-c0c32c67f39dfdbc.rlib" "/opt/rustwide/target/debug/deps/libnb-16a30245c628a0d5.rlib" "/opt/rustwide/target/debug/deps/libusbd_serial-e8c82b6d38df4f44.rlib" "/opt/rustwide/target/debug/deps/libusb_device-305aabc54edd6e07.rlib" "/opt/rustwide/target/debug/deps/libstm32f0-5696da149d6a9afa.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-1558a2d9538e5ff7.rlib" "/opt/rustwide/target/debug/deps/libr0-fcb7542b69586fb8.rlib" "-Wl,--start-group" "/opt/rustwide/target/debug/deps/libpanic_semihosting-4eb732a03910f91a.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_semihosting-86f75a3ca2b3434b.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-40adee80b7e9a2ff.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-cfffd8ab81a454e2.rlib" "/opt/rustwide/target/debug/deps/libvcell-df1ec7d4ba02f2f7.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-97f656b14996e89b.rlib" "/opt/rustwide/target/debug/deps/libaligned-2891ee1af7d8ceb4.rlib" "/opt/rustwide/target/debug/deps/libas_slice-fb20418ccd3f3fcd.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-d80d416eaff909f9.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-bb550b296221e327.rlib" "/opt/rustwide/target/debug/deps/libtypenum-1020bfb9d713230b.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/eafdee2dfae8c2233b74f98b123308be7ccefcc6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.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-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-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-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.1.rcgu.o: in function `core::mem::maybe_uninit::MaybeUninit::assume_init': [INFO] [stdout] /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/mem/maybe_uninit.rs:513: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32f072_usb_test-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-cgu.1.rcgu.o: in function `core::mem::manually_drop::ManuallyDrop::into_inner': [INFO] [stdout] /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/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-4f8b7780288fb07c.stm32f072_usb_test.66drrbln-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-86f75a3ca2b3434b.rlib(cortex_m_semihosting-86f75a3ca2b3434b.cortex_m_semihosting.49xvji0w-cgu.9.rcgu.o): in function `core::fmt::Write::write_char': [INFO] [stdout] /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:159: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-86f75a3ca2b3434b.rlib(cortex_m_semihosting-86f75a3ca2b3434b.cortex_m_semihosting.49xvji0w-cgu.9.rcgu.o): in function `core::fmt::Write::write_fmt': [INFO] [stdout] /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:182: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-86f75a3ca2b3434b.rlib(cortex_m_semihosting-86f75a3ca2b3434b.cortex_m_semihosting.49xvji0w-cgu.9.rcgu.o): in function `<&mut W as core::fmt::Write>::write_fmt': [INFO] [stdout] /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:197: 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" "94ff68d26be2a1374bc1b551f11628b025f9cc3aa91795ce058625a7c9331e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ff68d26be2a1374bc1b551f11628b025f9cc3aa91795ce058625a7c9331e77", kill_on_drop: false }` [INFO] [stdout] 94ff68d26be2a1374bc1b551f11628b025f9cc3aa91795ce058625a7c9331e77