[INFO] cloning repository https://github.com/luojia65/librv4rs-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/librv4rs-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Flibrv4rs-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Flibrv4rs-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfc1bb18d05c0362b8890d294dda2f34d5473a49 [INFO] building luojia65/librv4rs-example against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Flibrv4rs-example" "/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] started tweaking git repo https://github.com/luojia65/librv4rs-example [INFO] finished tweaking git repo https://github.com/luojia65/librv4rs-example [INFO] tweaked toml for git repo https://github.com/luojia65/librv4rs-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luojia65/librv4rs-example 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/luojia65/librv4rs-example 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] 562565a9d5eddabb7080242815b5cd82324ffd0ca82827206cd40031f10fb38e [INFO] running `Command { std: "docker" "start" "-a" "562565a9d5eddabb7080242815b5cd82324ffd0ca82827206cd40031f10fb38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "562565a9d5eddabb7080242815b5cd82324ffd0ca82827206cd40031f10fb38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562565a9d5eddabb7080242815b5cd82324ffd0ca82827206cd40031f10fb38e", kill_on_drop: false }` [INFO] [stdout] 562565a9d5eddabb7080242815b5cd82324ffd0ca82827206cd40031f10fb38e [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] 11f867d832a86843c089aaea753e7a7069474b5a112dde1899f235a4cd3f22a2 [INFO] running `Command { std: "docker" "start" "-a" "11f867d832a86843c089aaea753e7a7069474b5a112dde1899f235a4cd3f22a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling riscv v0.5.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling riscv-rt v0.6.1 [INFO] [stderr] Compiling librv4rs-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling gd32vf103-pac v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Compiling gd32vf103-hal v0.0.0 [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>" "-l" "rv4rs" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libgd32vf103_hal-cdab3e0de3988b40,libembedded_hal-d13a65e347710f74,libvoid-6b3fa066fea5aaeb,libnb-8750cdb5800dfad8,libgd32vf103_pac-155119c091e0b50e,libvcell-592c633ffb1e1206,libriscv_rt-ffaab74bfa271462,libr0-bd7eebdb4334dec2,libriscv-d8964b66bc784868,libbit_field-a64966086549fb4d,libbare_metal-08c4adcbc52e6920,libpanic_halt-61ee96f2a3d9bb25}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/librv4rs-example-29c6d9740aa2bfda/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/riscv-rt-fae13640fbd733a8/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/librv4rs_example-c137971897c84054.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/librv4rs-example-29c6d9740aa2bfda/out/librv4rs.a: archive member 'csr.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/librv4rs-example-29c6d9740aa2bfda/out/librv4rs.a: archive member 'eclic.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] 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/librv4rs_example-c137971897c84054.librv4rs_example.27eca06711f98b1d-cgu.0.rcgu.o: undefined symbol: enable_mcycle_minstret [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: _mp_hook [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: __pre_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: _sbss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: _ebss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: _sdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: _edata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: _sidata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libriscv_rt-ffaab74bfa271462.rlib(riscv_rt-ffaab74bfa271462.riscv_rt.fdec9aa3ca0ca765-cgu.0.rcgu.o): undefined symbol: trap_handler [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `librv4rs-example` (bin "librv4rs-example") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "11f867d832a86843c089aaea753e7a7069474b5a112dde1899f235a4cd3f22a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f867d832a86843c089aaea753e7a7069474b5a112dde1899f235a4cd3f22a2", kill_on_drop: false }` [INFO] [stdout] 11f867d832a86843c089aaea753e7a7069474b5a112dde1899f235a4cd3f22a2