[INFO] cloning repository https://github.com/viscropst/wasmedge_hello_caller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viscropst/wasmedge_hello_caller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviscropst%2Fwasmedge_hello_caller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviscropst%2Fwasmedge_hello_caller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1af548796838820500163e41d67a5980887293c2 [INFO] testing viscropst/wasmedge_hello_caller against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviscropst%2Fwasmedge_hello_caller" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/viscropst/wasmedge_hello_caller [INFO] finished tweaking git repo https://github.com/viscropst/wasmedge_hello_caller [INFO] tweaked toml for git repo https://github.com/viscropst/wasmedge_hello_caller written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/viscropst/wasmedge_hello_caller on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/viscropst/wasmedge_hello_caller 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68c2dee45025761444647bbd38a895c51b503201daac903511e635309fac5057 [INFO] running `Command { std: "docker" "start" "-a" "68c2dee45025761444647bbd38a895c51b503201daac903511e635309fac5057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68c2dee45025761444647bbd38a895c51b503201daac903511e635309fac5057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68c2dee45025761444647bbd38a895c51b503201daac903511e635309fac5057", kill_on_drop: false }` [INFO] [stdout] 68c2dee45025761444647bbd38a895c51b503201daac903511e635309fac5057 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8458f4f04cc51580c9233cc8e8656de4cbf12cf69410ee6c318a0ece21d584fc [INFO] running `Command { std: "docker" "start" "-a" "8458f4f04cc51580c9233cc8e8656de4cbf12cf69410ee6c318a0ece21d584fc", kill_on_drop: false }` [INFO] [stderr] Compiling host_example_caller v0.1.0 (/opt/rustwide/workdir/host_example_caller) [INFO] [stderr] Compiling hello_caller v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc7GoBOq/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libhost_example_caller-afd8eea59b62b911.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-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc7GoBOq/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/hello_caller-a5f29ff081862a22" "-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: c_host_prompt [INFO] [stdout] >>> referenced by hello_caller.rs:14 (src/hello_caller.rs:14) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/hello_caller-a5f29ff081862a22.hello_caller.f15560e44db525e4-cgu.0.rcgu.o:(hello_caller::hello_caller::host_prompt::he709d7e1412ce184) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: host_function_example_add_student [INFO] [stdout] >>> referenced by lib.rs:37 (host_example_caller/src/lib.rs:37) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/hello_caller-a5f29ff081862a22.hello_caller.f15560e44db525e4-cgu.0.rcgu.o:(host_example_caller::add_student::he598f6ea4e1fe9b5) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: host_function_example_set_class_name [INFO] [stdout] >>> referenced by lib.rs:25 (host_example_caller/src/lib.rs:25) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/hello_caller-a5f29ff081862a22.hello_caller.f15560e44db525e4-cgu.0.rcgu.o:(host_example_caller::set_class_name::h884edcac6b080a96) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: host_function_example_set_class_id [INFO] [stdout] >>> referenced by lib.rs:19 (host_example_caller/src/lib.rs:19) [INFO] [stdout] >>> host_example_caller-afd8eea59b62b911.host_example_caller.26675b97150524c0-cgu.0.rcgu.o:(host_example_caller::set_class_id::h38f25d8650b57a3b) in archive /opt/rustwide/target/debug/deps/libhost_example_caller-afd8eea59b62b911.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: host_function_example_print [INFO] [stdout] >>> referenced by lib.rs:49 (host_example_caller/src/lib.rs:49) [INFO] [stdout] >>> host_example_caller-afd8eea59b62b911.host_example_caller.26675b97150524c0-cgu.0.rcgu.o:(host_example_caller::print::hbb88b862ef8326e8) in archive /opt/rustwide/target/debug/deps/libhost_example_caller-afd8eea59b62b911.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_caller` (bin "hello_caller") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8458f4f04cc51580c9233cc8e8656de4cbf12cf69410ee6c318a0ece21d584fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8458f4f04cc51580c9233cc8e8656de4cbf12cf69410ee6c318a0ece21d584fc", kill_on_drop: false }` [INFO] [stdout] 8458f4f04cc51580c9233cc8e8656de4cbf12cf69410ee6c318a0ece21d584fc