[INFO] cloning repository https://github.com/Stephen-Kimoi/rust-http-get [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stephen-Kimoi/rust-http-get" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStephen-Kimoi%2Frust-http-get", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStephen-Kimoi%2Frust-http-get'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5aad35d3291cdc824e8cd99ea8177cb4bc4ea3a9 [INFO] testing Stephen-Kimoi/rust-http-get against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStephen-Kimoi%2Frust-http-get" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Stephen-Kimoi/rust-http-get [INFO] finished tweaking git repo https://github.com/Stephen-Kimoi/rust-http-get [INFO] tweaked toml for git repo https://github.com/Stephen-Kimoi/rust-http-get written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Stephen-Kimoi/rust-http-get 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/Stephen-Kimoi/rust-http-get 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded candid v0.10.8 [INFO] [stderr] Downloaded ic-cdk-timers v0.6.0 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded ic-cdk v0.12.1 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 461b559cb768f2fcdd1169827f30bc672fac637eb9bd8c15b5609f2ea13b8162 [INFO] running `Command { std: "docker" "start" "-a" "461b559cb768f2fcdd1169827f30bc672fac637eb9bd8c15b5609f2ea13b8162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "461b559cb768f2fcdd1169827f30bc672fac637eb9bd8c15b5609f2ea13b8162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461b559cb768f2fcdd1169827f30bc672fac637eb9bd8c15b5609f2ea13b8162", kill_on_drop: false }` [INFO] [stdout] 461b559cb768f2fcdd1169827f30bc672fac637eb9bd8c15b5609f2ea13b8162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6fd9558ecf854068109745ceacfca8b4f018fe6a512a2d1c75f37179bb234ee2 [INFO] running `Command { std: "docker" "start" "-a" "6fd9558ecf854068109745ceacfca8b4f018fe6a512a2d1c75f37179bb234ee2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling candid v0.10.8 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Compiling ic-cdk v0.12.1 [INFO] [stderr] Compiling ic-cdk-timers v0.6.0 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling rust_http_get_backend v0.1.0 (/opt/rustwide/workdir/src/rust_http_get_backend) [INFO] [stdout] warning: unused imports: `query` and `update` [INFO] [stdout] --> src/rust_http_get_backend/src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ic_cdk_macros::{self, query, update}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/rust_http_get_backend/src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcK8EM2F/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcK8EM2F/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_json-bf65d0155949763a,libitoa-4c6598116a867907,libryu-f8ba606093049f91,libic_cdk-ae2104fcef875ab7,libic0-88cedc4127ae8e95,libcandid-e6ac4ccfec8fce8d,libstacker-79a0e27245b02a8e,libpsm-71159a527fc0e226,liblibc-aa070599fea9ccde,libhex-28742b4ca144387c,libserde_bytes-043f34f56b21577e,libpretty-0f59cab5a1ff11d2,libunicode_width-d4af6ef784b2a0cb,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-2aa2eb536efc06de,libcrc32fast-b0a822c04decf57d,libdata_encoding-02a524d0cb7bb851,libsha2-662696809238184c,libcpufeatures-42c2188ae17ada4c,libcfg_if-33ef6c02a07f9fec,libdigest-3c2d891685d4b89e,libblock_buffer-8cfc6f57c23bdc22,libcrypto_common-66e2e31812479249,libgeneric_array-f5f3e90d36d8aab9,libtypenum-66c155be53855aa0,libnum_bigint-baaa720d39c95bab,libnum_integer-3b8018de5d267fee,libnum_traits-0dc368860bb68f9d,libanyhow-5a7a6c9026c03448,libbinread-8dfba7acd7f09513,liblazy_static-2bb390fee0230a38,libthiserror-653cafdfed06677f,libserde-9c70e177e233b726}.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/rustcK8EM2F/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-23fd123e29a9199f/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/librust_http_get_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: /tmp/rustcK8EM2F/list:3: ; expected, but got transform [INFO] [stdout] >>> canister_query transform; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_http_get_backend` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fd9558ecf854068109745ceacfca8b4f018fe6a512a2d1c75f37179bb234ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd9558ecf854068109745ceacfca8b4f018fe6a512a2d1c75f37179bb234ee2", kill_on_drop: false }` [INFO] [stdout] 6fd9558ecf854068109745ceacfca8b4f018fe6a512a2d1c75f37179bb234ee2