[INFO] cloning repository https://github.com/KodrAus/hifive1-revb-exec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KodrAus/hifive1-revb-exec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodrAus%2Fhifive1-revb-exec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodrAus%2Fhifive1-revb-exec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0f0ecac656d5107b575a69e3bfdd39d8d2dd4a3 [INFO] building KodrAus/hifive1-revb-exec against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodrAus%2Fhifive1-revb-exec" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/KodrAus/hifive1-revb-exec [INFO] finished tweaking git repo https://github.com/KodrAus/hifive1-revb-exec [INFO] tweaked toml for git repo https://github.com/KodrAus/hifive1-revb-exec written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KodrAus/hifive1-revb-exec 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/KodrAus/hifive1-revb-exec 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 864d25a241e1bd558b83a9c525d52f04c0a67bba1d10cc5f8ef2286da972269f [INFO] running `Command { std: "docker" "start" "-a" "864d25a241e1bd558b83a9c525d52f04c0a67bba1d10cc5f8ef2286da972269f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "864d25a241e1bd558b83a9c525d52f04c0a67bba1d10cc5f8ef2286da972269f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864d25a241e1bd558b83a9c525d52f04c0a67bba1d10cc5f8ef2286da972269f", kill_on_drop: false }` [INFO] [stdout] 864d25a241e1bd558b83a9c525d52f04c0a67bba1d10cc5f8ef2286da972269f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f9cb7a69487a0eb37b78d9c7ccfc50656f14f8804bc44c4c04682082fe556832 [INFO] running `Command { std: "docker" "start" "-a" "f9cb7a69487a0eb37b78d9c7ccfc50656f14f8804bc44c4c04682082fe556832", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling riscv v0.5.6 [INFO] [stderr] Compiling riscv-rt v0.6.2 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling e310x v0.6.0 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling hifive1 v0.8.1 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Compiling e310x-hal v0.8.3 [INFO] [stderr] Compiling hifive1-revb-exec v0.0.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" "_start_rust" "--export" "_start_trap_rust" "--export" "default_mp_hook" "--export" "default_pre_init" "--export" "default_trap_handler" "--export" "error: riscv-rt appears more than once in the dependency graph" "--export" "DEVICE_PERIPHERALS" "-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/{libhifive1-8f4edc34938031b1,libe310x_hal-fd1003e216e10024,libembedded_hal-872a616079ed329c,libvoid-6b3fa066fea5aaeb,libnb-6891f6c6ee1e4cdd,libnb-f0e78076aa3eab16,libe310x-3bfea236239b83a9,libvcell-592c633ffb1e1206,libriscv_rt-3d8c6197c90f3c61,libr0-bd7eebdb4334dec2,libriscv-df48ff1b90fc8edd,libbit_field-a64966086549fb4d,libbare_metal-6efdf70bc06c89a7}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/hifive1-d663082f42e92c79/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/e310x-8e37564f93bb1bde/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/riscv-rt-c7b869f952a80400/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/hifive1_revb_exec-d759a93d618b3906.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-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: _mp_hook [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: __pre_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: _sbss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: _ebss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: _sdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: _edata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: _sidata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-3d8c6197c90f3c61.rlib(riscv_rt-3d8c6197c90f3c61.riscv_rt.7c08ad9d4a85957f-cgu.0.rcgu.o): undefined symbol: trap_handler [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hifive1-revb-exec` (bin "hifive1-revb-exec") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f9cb7a69487a0eb37b78d9c7ccfc50656f14f8804bc44c4c04682082fe556832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9cb7a69487a0eb37b78d9c7ccfc50656f14f8804bc44c4c04682082fe556832", kill_on_drop: false }` [INFO] [stdout] f9cb7a69487a0eb37b78d9c7ccfc50656f14f8804bc44c4c04682082fe556832