[INFO] cloning repository https://github.com/Loggi-pro/gsm-alert [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Loggi-pro/gsm-alert" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoggi-pro%2Fgsm-alert", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoggi-pro%2Fgsm-alert'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ab374a3dfc0ee43890e6c567bf7079ea4f20ed1 [INFO] testing Loggi-pro/gsm-alert against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoggi-pro%2Fgsm-alert" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Loggi-pro/gsm-alert on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/Loggi-pro/gsm-alert [INFO] finished tweaking git repo https://github.com/Loggi-pro/gsm-alert [INFO] tweaked toml for git repo https://github.com/Loggi-pro/gsm-alert written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Loggi-pro/gsm-alert already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--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 heapless v0.4.4 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd3ec62016e0059df76e2294f6aa6835ebf985edcaf7756af79f1986a78a52c9 [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" "fd3ec62016e0059df76e2294f6aa6835ebf985edcaf7756af79f1986a78a52c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd3ec62016e0059df76e2294f6aa6835ebf985edcaf7756af79f1986a78a52c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3ec62016e0059df76e2294f6aa6835ebf985edcaf7756af79f1986a78a52c9", kill_on_drop: false }` [INFO] [stdout] fd3ec62016e0059df76e2294f6aa6835ebf985edcaf7756af79f1986a78a52c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", 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] 414286286b1897da77022dcdd1016b42156475aed7418dc78192a3ca19968f91 [INFO] running `Command { std: "docker" "start" "-a" "414286286b1897da77022dcdd1016b42156475aed7418dc78192a3ca19968f91", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32f1xx-hal v0.6.1 [INFO] [stderr] Compiling gsm_alert v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static is never used: `SIM900_TEXT_MODE_ON` [INFO] [stdout] --> src/sim900.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static SIM900_TEXT_MODE_ON: &str = "AT+CMGF=1\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SIM900_END` [INFO] [stdout] --> src/sim900.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | static SIM900_END: &str = "\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SIM900_SEND_SMS` [INFO] [stdout] --> src/sim900.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | static SIM900_SEND_SMS: &str = "AT+CMGS=\""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SIM900_CMD_ENTER` [INFO] [stdout] --> src/sim900.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | static SIM900_CMD_ENTER: &str = "\x1a\r"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expect_str` [INFO] [stdout] --> src/sim900.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn expect_str<'a>(r: Result<(), RequestError<'a>>, s: &str) -> Result<(), RequestError<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_state` [INFO] [stdout] --> src/sim900.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn get_state(&self) -> Sim900State { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_sms` [INFO] [stdout] --> src/sim900.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn send_sms(&mut self, telephone: &str, msg: &str) -> Result<(), RequestError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_pdu_sms` [INFO] [stdout] --> src/sim900.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn send_pdu_sms(&mut self, msg: &str) -> bool { [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/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-1cd7858018be0ebb/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-83657f2c40c0a885/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,--end-group" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0f3a0c116d5e04d6.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/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::intrinsics::copy_nonoverlapping': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/intrinsics.rs:1866: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::intrinsics::copy_nonoverlapping': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/intrinsics.rs:1866: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::intrinsics::copy_nonoverlapping': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/intrinsics.rs:1866: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::cell::RefCell::new': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/cell.rs:657: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/cell.rs:657: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o:/rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/cell.rs:1667: more undefined references to `memcpy' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `::into_searcher': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/str/pattern.rs:536: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `<[A] as core::slice::cmp::SlicePartialEq>::equal': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/slice/cmp.rs:119: undefined reference to `memcmp' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `gsm_alert::utils::global_cell::GlobalCell::set': [INFO] [stdout] /opt/rustwide/workdir/src/utils/global_cell.rs:21: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/utils/global_cell.rs:22: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `gsm_alert::hardware::usart_adapter::UsartAdapter::new': [INFO] [stdout] /opt/rustwide/workdir/src/hardware/usart_adapter.rs:53: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/hardware/usart_adapter.rs:47: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `gsm_alert::__cortex_m_rt_main': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:60: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::imp::fmt_u64': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:213: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::GenericRadix::fmt_int': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:72: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::imp::fmt_u64': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:213: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::GenericRadix::fmt_int': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:72: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::Write::write_fmt': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/mod.rs:182: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/mod.rs:182: undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `<[A] as core::slice::cmp::SlicePartialEq>::equal': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/slice/cmp.rs:119: undefined reference to `bcmp' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::str::pattern::StrSearcher::new': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/str/pattern.rs:936: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::GenericRadix::fmt_int': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:72: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::imp::fmt_u64': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:213: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::GenericRadix::fmt_int': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:72: undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/gsm_alert-b08430eaa19f6ef7.gsm_alert.ev0gr7i5-cgu.0.rcgu.o: in function `core::fmt::num::GenericRadix::fmt_int': [INFO] [stdout] /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1//library/core/src/fmt/num.rs:72: undefined reference to `memset' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gsm_alert` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "414286286b1897da77022dcdd1016b42156475aed7418dc78192a3ca19968f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414286286b1897da77022dcdd1016b42156475aed7418dc78192a3ca19968f91", kill_on_drop: false }` [INFO] [stdout] 414286286b1897da77022dcdd1016b42156475aed7418dc78192a3ca19968f91