[INFO] fetching crate sam4n_xplained_pro 0.1.3... [INFO] building sam4n_xplained_pro-0.1.3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate sam4n_xplained_pro 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking crates.io crate sam4n_xplained_pro 0.1.3 [INFO] finished tweaking crates.io crate sam4n_xplained_pro 0.1.3 [INFO] tweaked toml for crates.io crate sam4n_xplained_pro 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sam4n_xplained_pro 0.1.3 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sam4n_xplained_pro 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.6 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded generic-array v0.14.4 [INFO] [stderr] Downloaded heapless v0.6.1 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded indexmap v1.6.2 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded embedded-time v0.10.1 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded volatile v0.4.4 [INFO] [stderr] Downloaded atsam4-hal v0.1.13 [INFO] [stderr] Downloaded atsam4n16c-pac v0.1.0 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded panic-abort v0.3.2 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded paste v1.0.5 [INFO] [stderr] Downloaded cortex-m-rt v0.6.13 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded panic-semihosting v0.5.6 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e2b5f29ac88d5a890226b9869d455a9a44d1c5f08691f76b0deaac6680b049b [INFO] running `Command { std: "docker" "start" "-a" "5e2b5f29ac88d5a890226b9869d455a9a44d1c5f08691f76b0deaac6680b049b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e2b5f29ac88d5a890226b9869d455a9a44d1c5f08691f76b0deaac6680b049b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e2b5f29ac88d5a890226b9869d455a9a44d1c5f08691f76b0deaac6680b049b", kill_on_drop: false }` [INFO] [stdout] 5e2b5f29ac88d5a890226b9869d455a9a44d1c5f08691f76b0deaac6680b049b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cd63858bda304729f4bfb945006643b6b8e863de0a66928e8e7a2be3f70112e [INFO] running `Command { std: "docker" "start" "-a" "7cd63858bda304729f4bfb945006643b6b8e863de0a66928e8e7a2be3f70112e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling atsam4n16c-pac v0.1.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling sam4n_xplained_pro v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling volatile v0.4.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling panic-semihosting v0.5.6 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.10.1 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling atsam4-hal v0.1.13 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.63s [INFO] running `Command { std: "docker" "inspect" "7cd63858bda304729f4bfb945006643b6b8e863de0a66928e8e7a2be3f70112e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd63858bda304729f4bfb945006643b6b8e863de0a66928e8e7a2be3f70112e", kill_on_drop: false }` [INFO] [stdout] 7cd63858bda304729f4bfb945006643b6b8e863de0a66928e8e7a2be3f70112e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cad96d8a3498e3d49433ab0ca3d0c8a397c4efb6c42ab0939cabc58fef06200 [INFO] running `Command { std: "docker" "start" "-a" "9cad96d8a3498e3d49433ab0ca3d0c8a397c4efb6c42ab0939cabc58fef06200", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Compiling rtic-core v0.3.1 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Compiling sam4n_xplained_pro v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcN4xk2K/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsam4n_xplained_pro-83d5327a49bf1956,libatsam4_hal-faa67e92db5929f2,libembedded_time-fc9c77a349ff513d,libnum-9f1d80fae0b9ce76,libnum_iter-63f50322f6119d56,libnum_rational-de1201d0a313907b,libnum_integer-7660e318176536f8,libnum_complex-2917fa97948b56bb,libnum_traits-2bf64826a516e60e,libatsam4n16c_pac-3ed56df0fcd7b336,libcortex_m-253b1c93f6bb44f6,libaligned-3a60c9832c71c0cc,libas_slice-46e58cae3f1cfc28,libstable_deref_trait-5f51a5ca749ede17,libgeneric_array-3d707386d915f719,libgeneric_array-d6acd72a038c8ffc,libgeneric_array-67c3d934e4a4fd89,libtypenum-6faf34acd2cfd55f,libpanic_semihosting-087534bc6d8ae142}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libcortex_m_semihosting-bf6c9a91938efead,libcortex_m-70be0a70614e9c09,libembedded_hal-9745d20dc298fb59,libvoid-9163cd71c286a90e,libnb-84c23787cc8af287,libnb-50c6ba2667b3d02b,libvolatile_register-cbbd2d3b5b351fec,libvcell-d64dabacbc42077e,libbare_metal-f581e6a1989c1687,libcortex_m_rt-19970d7f5891ab2f,libr0-98c2ece3e96462d7}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcN4xk2K/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/sam4n_xplained_pro-7791e953aeea003d/out" "-L" "/opt/rustwide/target/debug/build/atsam4n16c-pac-481eec21fed529db/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-a54c1f445d2aab3a/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/blinky-ad4597c51f313c60" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky-ad4597c51f313c60.blinky.abcf3fd8011ac491-cgu.0.rcgu.o:(cortex_m::register::primask::read::h66a145a322e47118) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> cortex_m_semihosting-bf6c9a91938efead.cortex_m_semihosting.8c02ead5a4ff2bbd-cgu.0.rcgu.o:(cortex_m::register::primask::read::h5dbd86478c9773ed) in archive /opt/rustwide/target/debug/deps/libcortex_m_semihosting-bf6c9a91938efead.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky-ad4597c51f313c60.blinky.abcf3fd8011ac491-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h979bcaa87c807667) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> cortex_m_semihosting-bf6c9a91938efead.cortex_m_semihosting.8c02ead5a4ff2bbd-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h14ad6f018132f537) in archive /opt/rustwide/target/debug/deps/libcortex_m_semihosting-bf6c9a91938efead.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/blinky-ad4597c51f313c60.blinky.abcf3fd8011ac491-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h47eb9e6c8a2ec310) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> cortex_m_semihosting-bf6c9a91938efead.cortex_m_semihosting.8c02ead5a4ff2bbd-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hc16bd90f1e6b27a5) in archive /opt/rustwide/target/debug/deps/libcortex_m_semihosting-bf6c9a91938efead.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sam4n_xplained_pro` (example "blinky") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcafo3gs/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsam4n_xplained_pro-83d5327a49bf1956,libatsam4_hal-faa67e92db5929f2,libembedded_time-fc9c77a349ff513d,libnum-9f1d80fae0b9ce76,libnum_iter-63f50322f6119d56,libnum_rational-de1201d0a313907b,libnum_integer-7660e318176536f8,libnum_complex-2917fa97948b56bb,libnum_traits-2bf64826a516e60e,libatsam4n16c_pac-3ed56df0fcd7b336,libcortex_m-253b1c93f6bb44f6,libaligned-3a60c9832c71c0cc,libas_slice-46e58cae3f1cfc28,libstable_deref_trait-5f51a5ca749ede17,libgeneric_array-3d707386d915f719,libgeneric_array-d6acd72a038c8ffc,libgeneric_array-67c3d934e4a4fd89,libtypenum-6faf34acd2cfd55f,libpanic_semihosting-087534bc6d8ae142}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libcortex_m_semihosting-bf6c9a91938efead,libcortex_m-70be0a70614e9c09,libembedded_hal-9745d20dc298fb59,libvoid-9163cd71c286a90e,libnb-84c23787cc8af287,libnb-50c6ba2667b3d02b,libvolatile_register-cbbd2d3b5b351fec,libvcell-d64dabacbc42077e,libbare_metal-f581e6a1989c1687,libcortex_m_rt-19970d7f5891ab2f,libr0-98c2ece3e96462d7}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcafo3gs/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/sam4n_xplained_pro-7791e953aeea003d/out" "-L" "/opt/rustwide/target/debug/build/atsam4n16c-pac-481eec21fed529db/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-a54c1f445d2aab3a/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/serial-6559e63830ce79f9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/serial-6559e63830ce79f9.serial.2f728ea9faee9b9b-cgu.0.rcgu.o:(cortex_m::register::primask::read::hcfa6f4556732d0e5) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> cortex_m_semihosting-bf6c9a91938efead.cortex_m_semihosting.8c02ead5a4ff2bbd-cgu.0.rcgu.o:(cortex_m::register::primask::read::h5dbd86478c9773ed) in archive /opt/rustwide/target/debug/deps/libcortex_m_semihosting-bf6c9a91938efead.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/serial-6559e63830ce79f9.serial.2f728ea9faee9b9b-cgu.0.rcgu.o:(cortex_m::interrupt::enable::hec1ee3033b3f26cb) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> cortex_m_semihosting-bf6c9a91938efead.cortex_m_semihosting.8c02ead5a4ff2bbd-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h14ad6f018132f537) in archive /opt/rustwide/target/debug/deps/libcortex_m_semihosting-bf6c9a91938efead.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/serial-6559e63830ce79f9.serial.2f728ea9faee9b9b-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hd3766f7b32871bc3) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> cortex_m_semihosting-bf6c9a91938efead.cortex_m_semihosting.8c02ead5a4ff2bbd-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hc16bd90f1e6b27a5) in archive /opt/rustwide/target/debug/deps/libcortex_m_semihosting-bf6c9a91938efead.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sam4n_xplained_pro` (example "serial") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/blinky_rtic.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use rtic::cyccnt::{Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.6/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ------ the item is gated here [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/blinky_rtic.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[app(device = sam4n_xplained_pro::hal::pac, monotonic = rtic::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.6/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ------ the item is gated here [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/blinky_rtic.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[app(device = sam4n_xplained_pro::hal::pac, monotonic = rtic::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky_rtic.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | .blink_led(cx.start + get_master_clock_frequency().0.cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky_rtic.rs:83:83 [INFO] [stdout] | [INFO] [stdout] 83 | .blink_led(Instant::now() + (get_master_clock_frequency().0 / 20).cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky_rtic.rs:89:82 [INFO] [stdout] | [INFO] [stdout] 89 | .blink_led(Instant::now() + (get_master_clock_frequency().0 / 2).cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sam4n_xplained_pro` (example "blinky_rtic") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9cad96d8a3498e3d49433ab0ca3d0c8a397c4efb6c42ab0939cabc58fef06200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cad96d8a3498e3d49433ab0ca3d0c8a397c4efb6c42ab0939cabc58fef06200", kill_on_drop: false }` [INFO] [stdout] 9cad96d8a3498e3d49433ab0ca3d0c8a397c4efb6c42ab0939cabc58fef06200