[INFO] cloning 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" "clone" "--bare" "https://github.com/DarkPhoeniz/rc-switcher-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96fc4fb23878fba54230fd8b00f1d3862d2bb85d [INFO] testing DarkPhoeniz/rc-switcher-rust against 1.49.0 for beta-1.50-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 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.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] 44dfab80acfa0f29b81ab537e4f460efb502eac8cc44bea65f333dcd6017c834 [INFO] running `Command { std: "docker" "start" "-a" "44dfab80acfa0f29b81ab537e4f460efb502eac8cc44bea65f333dcd6017c834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44dfab80acfa0f29b81ab537e4f460efb502eac8cc44bea65f333dcd6017c834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44dfab80acfa0f29b81ab537e4f460efb502eac8cc44bea65f333dcd6017c834", kill_on_drop: false }` [INFO] [stdout] 44dfab80acfa0f29b81ab537e4f460efb502eac8cc44bea65f333dcd6017c834 [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" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9670bbfd30e93f3f5f53b9905c8798f82a7c4a07534ce70f09601f42d5523731 [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" "9670bbfd30e93f3f5f53b9905c8798f82a7c4a07534ce70f09601f42d5523731", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.10 [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 aligned v0.2.0 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [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 bare-metal v0.2.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hash32 v0.1.0 [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: attribute should be applied to a function or static [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `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 function `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/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rc_switcher_rust-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-cgu.0.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rc_switcher_rust-38b8b5d48384f2a8" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/rc-switcher-rust-d0a775225bc81d25/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-c93ba7b8b0df1b36/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-225b3e7de68168e1/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librtfm-9da36aba54f7c81c.rlib" "/opt/rustwide/target/debug/deps/libheapless-510fb3778764e1cd.rlib" "/opt/rustwide/target/debug/deps/libhash32-7fa3e5d0865127f9.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-bf960ab00e30d29d.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-7821aedcd284b3c3.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-6e31a5c2a5fdc4c0.rlib" "/opt/rustwide/target/debug/deps/libaligned-6e7c85d9bbac2eb4.rlib" "/opt/rustwide/target/debug/deps/libstm32f1xx_hal-11e2ef22c2f366a2.rlib" "/opt/rustwide/target/debug/deps/libcast-38307510d8dcfc88.rlib" "/opt/rustwide/target/debug/deps/libstm32f1-5eb7c20270c2234d.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-53ea0ada254136bb.rlib" "/opt/rustwide/target/debug/deps/libr0-cb820ef20123ba2a.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-61f6edf74dd97503.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-a1e623190d3109de.rlib" "/opt/rustwide/target/debug/deps/libvcell-afb83aec6408adff.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-f73ead71055a3ce0.rlib" "/opt/rustwide/target/debug/deps/libaligned-f5baa83c233aed26.rlib" "/opt/rustwide/target/debug/deps/libas_slice-850c9f725ddc71a6.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-2ebad9e29cede24a.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-d7bd08b3043d89dc.rlib" "/opt/rustwide/target/debug/deps/libtypenum-bcbeaef38160f0e7.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-949ed2b497807e43.rlib" "/opt/rustwide/target/debug/deps/libvoid-b1d38ead6fe06a42.rlib" "/opt/rustwide/target/debug/deps/libnb-e9270feca9b5fcd7.rlib" "-Wl,--start-group" "/opt/rustwide/target/debug/deps/libpanic_halt-45328c7c8a63c149.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-25b7435131fc4938.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9d4b6f3c097e876e.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3f953ad652ab829a.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-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-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-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-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-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-cgu.0.rcgu.o: in function `core::intrinsics::copy_nonoverlapping': [INFO] [stdout] /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/intrinsics.rs:1860: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-cgu.0.rcgu.o: in function `core::ptr::write_volatile': [INFO] [stdout] /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ptr/mod.rs:1124: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-cgu.0.rcgu.o: in function `core::ptr::write_volatile': [INFO] [stdout] /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ptr/mod.rs:1124: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-cgu.0.rcgu.o:/rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ptr/mod.rs:1124: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-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-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-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-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-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-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-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-38b8b5d48384f2a8.rc_switcher_rust.ef9u1gc1-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; 3 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" "9670bbfd30e93f3f5f53b9905c8798f82a7c4a07534ce70f09601f42d5523731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9670bbfd30e93f3f5f53b9905c8798f82a7c4a07534ce70f09601f42d5523731", kill_on_drop: false }` [INFO] [stdout] 9670bbfd30e93f3f5f53b9905c8798f82a7c4a07534ce70f09601f42d5523731