[INFO] cloning repository https://github.com/hauke/longan-nano-rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hauke/longan-nano-rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhauke%2Flongan-nano-rust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhauke%2Flongan-nano-rust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5daca57998286c6c9820b2433595aee4f7ecf93d [INFO] building hauke/longan-nano-rust-playground against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhauke%2Flongan-nano-rust-playground" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/hauke/longan-nano-rust-playground [INFO] finished tweaking git repo https://github.com/hauke/longan-nano-rust-playground [INFO] tweaked toml for git repo https://github.com/hauke/longan-nano-rust-playground written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hauke/longan-nano-rust-playground on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hauke/longan-nano-rust-playground 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding longan-nano v0.1.1 (https://github.com/riscv-rust/longan-nano.git?branch=master#34c172a7) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59f8ff14750ad855282366ec6bc634ea70431067f123d8542d2fd084a3c94d2d [INFO] running `Command { std: "docker" "start" "-a" "59f8ff14750ad855282366ec6bc634ea70431067f123d8542d2fd084a3c94d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59f8ff14750ad855282366ec6bc634ea70431067f123d8542d2fd084a3c94d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f8ff14750ad855282366ec6bc634ea70431067f123d8542d2fd084a3c94d2d", kill_on_drop: false }` [INFO] [stdout] 59f8ff14750ad855282366ec6bc634ea70431067f123d8542d2fd084a3c94d2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4be1a514d6a0ebf11aa22b2d0a02771faccf8260cfaff070d7aa8e0c676057ee [INFO] running `Command { std: "docker" "start" "-a" "4be1a514d6a0ebf11aa22b2d0a02771faccf8260cfaff070d7aa8e0c676057ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling riscv v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling gd32vf103xx-hal v0.3.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling embedded-graphics v0.6.2 [INFO] [stderr] Compiling longan-nano v0.1.1 (https://github.com/riscv-rust/longan-nano.git?branch=master#34c172a7) [INFO] [stderr] Compiling gd32vf103-pac v0.3.1 [INFO] [stderr] Compiling r0 v1.0.0 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv-rt v0.7.2 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Compiling st7735-lcd v0.7.2 [INFO] [stderr] Compiling longan-nano-rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "main" "--export" "DEVICE_PERIPHERALS" "--export" "DefaultExceptionHandler" "--export" "DefaultInterruptHandler" "--export" "__INTERRUPTS" "--export" "_start_rust" "--export" "_start_trap_rust" "--export" "default_mp_hook" "--export" "default_pre_init" "--export" "error: riscv-rt appears more than once in the dependency graph" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<1 object files omitted>" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libriscv_rt-6170c16fe75aaa62,libr0-83902cdf1f9faaf3,liblongan_nano-b10a689ca36a9e0b,libst7735_lcd-4c999102e616fb1a,libnum_traits-cd68c35c8549040e,libgd32vf103xx_hal-3f473715d4e67f8d,libcast-9caf7943d1bce99c,libembedded_hal-872a616079ed329c,libvoid-6b3fa066fea5aaeb,libnb-6891f6c6ee1e4cdd,libnb-f0e78076aa3eab16,libgd32vf103_pac-306d717e7ca593c1,libvcell-592c633ffb1e1206,libriscv-df48ff1b90fc8edd,libbit_field-a64966086549fb4d,libbare_metal-6efdf70bc06c89a7,libembedded_graphics-9bc1f72f578aa1f8,libbyteorder-2dd36ae58607d55f,libpanic_halt-61ee96f2a3d9bb25}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/longan-nano-1894342110635ba2/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/riscv-rt-2f6054564975359f/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/longan_nano_rust_playground-516d9754ff0ec251.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __wasi_init_tp [INFO] [stdout] rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __main_void [INFO] [stdout] rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __wasm_call_dtors [INFO] [stdout] rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __wasi_proc_exit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: _mp_hook [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: __pre_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: _sbss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: _ebss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: _sdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: _edata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: _sidata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: _setup_interrupts [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: ExceptionHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: DefaultHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: DefaultHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: UserSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: SupervisorSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: MachineSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: UserTimer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-6170c16fe75aaa62.rlib(riscv_rt-6170c16fe75aaa62.riscv_rt.499f5bffb98829ec-cgu.0.rcgu.o): undefined symbol: SupervisorTimer [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `longan-nano-rust-playground` (bin "longan-nano-rust-playground") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4be1a514d6a0ebf11aa22b2d0a02771faccf8260cfaff070d7aa8e0c676057ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be1a514d6a0ebf11aa22b2d0a02771faccf8260cfaff070d7aa8e0c676057ee", kill_on_drop: false }` [INFO] [stdout] 4be1a514d6a0ebf11aa22b2d0a02771faccf8260cfaff070d7aa8e0c676057ee