[INFO] updating cached repository https://github.com/DarkPhoeniz/rc-switcher-rust [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] 96fc4fb23878fba54230fd8b00f1d3862d2bb85d [INFO] testing DarkPhoeniz/rc-switcher-rust against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DarkPhoeniz/rc-switcher-rust on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] started tweaking git repo https://github.com/DarkPhoeniz/rc-switcher-rust [INFO] finished tweaking git repo https://github.com/DarkPhoeniz/rc-switcher-rust [INFO] tweaked toml for git repo https://github.com/DarkPhoeniz/rc-switcher-rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/DarkPhoeniz/rc-switcher-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53d0b3178d790e16158c6fbdc0348f8a95cc43babf2d96a88c73c6928a8ab76b [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" "53d0b3178d790e16158c6fbdc0348f8a95cc43babf2d96a88c73c6928a8ab76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53d0b3178d790e16158c6fbdc0348f8a95cc43babf2d96a88c73c6928a8ab76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d0b3178d790e16158c6fbdc0348f8a95cc43babf2d96a88c73c6928a8ab76b", kill_on_drop: false }` [INFO] [stdout] 53d0b3178d790e16158c6fbdc0348f8a95cc43babf2d96a88c73c6928a8ab76b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 742a98b5a54e2cbcb472296297303f11de3c746859921277bfef3f29a368f79e [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" "742a98b5a54e2cbcb472296297303f11de3c746859921277bfef3f29a368f79e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.10 [INFO] [stderr] Compiling byteorder v1.3.2 [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 stm32f1 v0.8.0 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling rc-switcher-rust v0.1.0 (/opt/rustwide/workdir) [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 rustc_version v0.2.3 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling generic-array v0.12.3 [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 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 stm32f1xx-hal v0.4.0 [INFO] [stdout] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[app(device = stm32f1::stm32f103)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[app(device = stm32f1::stm32f103)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/rc-switcher-rust-13239599e556b577/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-447813f6e67ef1ee/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-0dca26f2dbde0ce3/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librtfm-ca7aea292ef3e9fd.rlib" "/opt/rustwide/target/debug/deps/libheapless-37bc072adfa4a047.rlib" "/opt/rustwide/target/debug/deps/libhash32-868911f6764bf0b2.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-704b6a7408d0f426.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-4693f706753486f4.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-30c2304d98973bdc.rlib" "/opt/rustwide/target/debug/deps/libaligned-8611b0aaca2e88a6.rlib" "/opt/rustwide/target/debug/deps/libstm32f1xx_hal-d4d97b887945ea68.rlib" "/opt/rustwide/target/debug/deps/libcast-193f9d63ebf0be95.rlib" "/opt/rustwide/target/debug/deps/libstm32f1-3820bd265e80cba8.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-35693729034c4d39.rlib" "/opt/rustwide/target/debug/deps/libr0-47b544e1376ef0e3.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-13635a1ba62a6b7f.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-dbd255d79c531884.rlib" "/opt/rustwide/target/debug/deps/libvcell-11b1064aa1037443.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-f01e092d1901a22b.rlib" "/opt/rustwide/target/debug/deps/libaligned-1e4cf8e954b852c2.rlib" "/opt/rustwide/target/debug/deps/libas_slice-669e0d5387f46666.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-3a814ef7db63b3dd.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-785f98adcf53d68b.rlib" "/opt/rustwide/target/debug/deps/libtypenum-58ae279b01c80979.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-4b4a97f09adf6dbb.rlib" "/opt/rustwide/target/debug/deps/libvoid-b4cce803bc0c4464.rlib" "/opt/rustwide/target/debug/deps/libnb-60c355313f3fa0cc.rlib" "-Wl,--start-group" "/opt/rustwide/target/debug/deps/libpanic_halt-3acbedd0e8418a3d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.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/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `stm32f1xx_hal::rcc::CFGR::pclk1': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.4.0/src/rcc.rs:147: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `stm32f1xx_hal::rcc::CFGR::sysclk': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.4.0/src/rcc.rs:165: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `core::intrinsics::copy_nonoverlapping': [INFO] [stdout] /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/intrinsics.rs:2134: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `core::ptr::write_volatile': [INFO] [stdout] /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ptr/mod.rs:1149: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `core::ptr::write_volatile': [INFO] [stdout] /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ptr/mod.rs:1149: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o:/rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ptr/mod.rs:1149: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `rc_switcher_rust::dma_serial::dma_serial1::Buffer::new': [INFO] [stdout] /opt/rustwide/workdir/src/dma_serial.rs:37: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `rc_switcher_rust::dma_serial::dma_serial2::Buffer::new': [INFO] [stdout] /opt/rustwide/workdir/src/dma_serial.rs:37: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `rc_switcher_rust::dma_serial::dma_serial3::Buffer::new': [INFO] [stdout] /opt/rustwide/workdir/src/dma_serial.rs:37: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o: in function `rc_switcher_rust::init_2::init': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:64: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:139: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:140: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:141: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:137: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-e87840d12b2b78c1.rc_switcher_rust.aphj7du0-cgu.0.rcgu.o:/opt/rustwide/workdir/src/main.rs:137: more undefined references to `memcpy' follow [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rc-switcher-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "742a98b5a54e2cbcb472296297303f11de3c746859921277bfef3f29a368f79e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742a98b5a54e2cbcb472296297303f11de3c746859921277bfef3f29a368f79e", kill_on_drop: false }` [INFO] [stdout] 742a98b5a54e2cbcb472296297303f11de3c746859921277bfef3f29a368f79e