[INFO] cloning repository https://github.com/tidvn/icp-hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tidvn/icp-hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftidvn%2Ficp-hello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftidvn%2Ficp-hello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9699c57d64d33314502bf5a224e28b33532a7c94 [INFO] testing tidvn/icp-hello-rust against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftidvn%2Ficp-hello-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tidvn/icp-hello-rust [INFO] finished tweaking git repo https://github.com/tidvn/icp-hello-rust [INFO] tweaked toml for git repo https://github.com/tidvn/icp-hello-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tidvn/icp-hello-rust on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tidvn/icp-hello-rust 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded thiserror v1.0.62 [INFO] [stderr] Downloaded ic-cdk-timers v0.7.0 [INFO] [stderr] Downloaded ic-cdk v0.13.2 [INFO] [stderr] Downloaded candid v0.10.9 [INFO] [stderr] Downloaded thiserror-impl v1.0.62 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded ic-cdk-macros v0.13.2 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded cc v1.1.5 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] [stderr] Downloaded unicode-width v0.1.13 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d06e83b05e5686c659093c9aad734eb5cec847c37d801d3cc628927d76ecbf29 [INFO] running `Command { std: "docker" "start" "-a" "d06e83b05e5686c659093c9aad734eb5cec847c37d801d3cc628927d76ecbf29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d06e83b05e5686c659093c9aad734eb5cec847c37d801d3cc628927d76ecbf29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06e83b05e5686c659093c9aad734eb5cec847c37d801d3cc628927d76ecbf29", kill_on_drop: false }` [INFO] [stdout] d06e83b05e5686c659093c9aad734eb5cec847c37d801d3cc628927d76ecbf29 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 82e9b19ff3b224aa59e6d3d5b0dd0de54a3d4d504398c000d50e621c679fe289 [INFO] running `Command { std: "docker" "start" "-a" "82e9b19ff3b224aa59e6d3d5b0dd0de54a3d4d504398c000d50e621c679fe289", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.10.9 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Compiling ic-cdk v0.13.2 [INFO] [stderr] Compiling ic-cdk-timers v0.7.0 [INFO] [stderr] Compiling hello_rust_backend v0.1.0 (/opt/rustwide/workdir/src/hello_rust_backend) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/opt/rustwide/target/debug/build/hello_rust_backend/1db9092f98240b91/deps/rustc5b7iGI/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/build/hello_rust_backend/1db9092f98240b91/deps/rustc5b7iGI/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/build/ic-cdk/40bd420e6b794960/deps/libic_cdk-40bd420e6b794960.rlib" "/opt/rustwide/target/debug/build/ic0/88cedc4127ae8e95/deps/libic0-88cedc4127ae8e95.rlib" "/opt/rustwide/target/debug/build/candid/3000faea4e94532e/deps/libcandid-3000faea4e94532e.rlib" "/opt/rustwide/target/debug/build/stacker/4f4acd6426683b33/deps/libstacker-4f4acd6426683b33.rlib" "/opt/rustwide/target/debug/build/psm/c172c0a5166dee54/deps/libpsm-c172c0a5166dee54.rlib" "/opt/rustwide/target/debug/build/libc/ae7c44f539cff960/deps/liblibc-ae7c44f539cff960.rlib" "/opt/rustwide/target/debug/build/hex/28742b4ca144387c/deps/libhex-28742b4ca144387c.rlib" "/opt/rustwide/target/debug/build/serde_bytes/216505147e40b6b5/deps/libserde_bytes-216505147e40b6b5.rlib" "/opt/rustwide/target/debug/build/pretty/ff73b952e16dfb14/deps/libpretty-ff73b952e16dfb14.rlib" "/opt/rustwide/target/debug/build/unicode-width/ea37189c48be061a/deps/libunicode_width-ea37189c48be061a.rlib" "/opt/rustwide/target/debug/build/arrayvec/f5ee3f47c3793c70/deps/libarrayvec-f5ee3f47c3793c70.rlib" "/opt/rustwide/target/debug/build/typed-arena/e8efe135793da16d/deps/libtyped_arena-e8efe135793da16d.rlib" "/opt/rustwide/target/debug/build/leb128/ae0983f084a091ac/deps/libleb128-ae0983f084a091ac.rlib" "/opt/rustwide/target/debug/build/byteorder/1efcbe4f07366651/deps/libbyteorder-1efcbe4f07366651.rlib" "/opt/rustwide/target/debug/build/ic_principal/531559ba2e93f409/deps/libic_principal-531559ba2e93f409.rlib" "/opt/rustwide/target/debug/build/crc32fast/5e6fdc6fad2d85f8/deps/libcrc32fast-5e6fdc6fad2d85f8.rlib" "/opt/rustwide/target/debug/build/data-encoding/02a524d0cb7bb851/deps/libdata_encoding-02a524d0cb7bb851.rlib" "/opt/rustwide/target/debug/build/sha2/2782a3fb8673adcb/deps/libsha2-2782a3fb8673adcb.rlib" "/opt/rustwide/target/debug/build/cpufeatures/42c2188ae17ada4c/deps/libcpufeatures-42c2188ae17ada4c.rlib" "/opt/rustwide/target/debug/build/cfg-if/33ef6c02a07f9fec/deps/libcfg_if-33ef6c02a07f9fec.rlib" "/opt/rustwide/target/debug/build/digest/3904ab3b2258413d/deps/libdigest-3904ab3b2258413d.rlib" "/opt/rustwide/target/debug/build/block-buffer/be38e141c111901c/deps/libblock_buffer-be38e141c111901c.rlib" "/opt/rustwide/target/debug/build/crypto-common/339167435333e108/deps/libcrypto_common-339167435333e108.rlib" "/opt/rustwide/target/debug/build/generic-array/a548462fd27ccc4c/deps/libgeneric_array-a548462fd27ccc4c.rlib" "/opt/rustwide/target/debug/build/typenum/d9cba146b74f4906/deps/libtypenum-d9cba146b74f4906.rlib" "/opt/rustwide/target/debug/build/num-bigint/3d43c1c8fe3677b3/deps/libnum_bigint-3d43c1c8fe3677b3.rlib" "/opt/rustwide/target/debug/build/num-integer/58f5420d65e73de4/deps/libnum_integer-58f5420d65e73de4.rlib" "/opt/rustwide/target/debug/build/num-traits/3decef4cdbd13ae1/deps/libnum_traits-3decef4cdbd13ae1.rlib" "/opt/rustwide/target/debug/build/anyhow/8b333ffe98d210b6/deps/libanyhow-8b333ffe98d210b6.rlib" "/opt/rustwide/target/debug/build/binread/1e3e2071047d10b0/deps/libbinread-1e3e2071047d10b0.rlib" "/opt/rustwide/target/debug/build/lazy_static/b3603208c0de2608/deps/liblazy_static-b3603208c0de2608.rlib" "/opt/rustwide/target/debug/build/thiserror/a5330418f2d270f8/deps/libthiserror-a5330418f2d270f8.rlib" "/opt/rustwide/target/debug/build/serde/b08199cff675131a/deps/libserde-b08199cff675131a.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" "/opt/rustwide/target/debug/build/hello_rust_backend/1db9092f98240b91/deps/rustc5b7iGI/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/psm/033692808e25d619/build-script-execution/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/build/hello_rust_backend/1db9092f98240b91/deps/libhello_rust_backend.so" "-Wl,--gc-sections" "-shared" "-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: /opt/rustwide/target/debug/build/hello_rust_backend/1db9092f98240b91/deps/rustc5b7iGI/list:3: ; expected, but got greet [INFO] [stdout] >>> canister_query greet; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_rust_backend` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "82e9b19ff3b224aa59e6d3d5b0dd0de54a3d4d504398c000d50e621c679fe289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e9b19ff3b224aa59e6d3d5b0dd0de54a3d4d504398c000d50e621c679fe289", kill_on_drop: false }` [INFO] [stdout] 82e9b19ff3b224aa59e6d3d5b0dd0de54a3d4d504398c000d50e621c679fe289