[INFO] cloning repository https://github.com/nuwrldnf8r/icp_file_upload [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nuwrldnf8r/icp_file_upload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuwrldnf8r%2Ficp_file_upload", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuwrldnf8r%2Ficp_file_upload'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efde51812ef4dea375d1b1306cc1ed141693a9c4 [INFO] testing nuwrldnf8r/icp_file_upload against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuwrldnf8r%2Ficp_file_upload" "/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/nuwrldnf8r/icp_file_upload [INFO] finished tweaking git repo https://github.com/nuwrldnf8r/icp_file_upload [INFO] tweaked toml for git repo https://github.com/nuwrldnf8r/icp_file_upload written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nuwrldnf8r/icp_file_upload on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nuwrldnf8r/icp_file_upload 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded candid_derive v0.6.5 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded ic-cdk v0.12.1 [INFO] [stderr] Downloaded rustversion v1.0.14 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded psm v0.1.21 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded candid v0.10.3 [INFO] [stderr] Downloaded ic-stable-structures v0.6.2 [INFO] [stderr] Downloaded stacker v0.1.15 [INFO] [stderr] Downloaded typenum v1.17.0 [INFO] [stderr] Downloaded anyhow v1.0.80 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded num-bigint v0.4.4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04a48774eb60f430575bb589e92b31db938746a276c176b2bdd37776df1f7f8a [INFO] running `Command { std: "docker" "start" "-a" "04a48774eb60f430575bb589e92b31db938746a276c176b2bdd37776df1f7f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04a48774eb60f430575bb589e92b31db938746a276c176b2bdd37776df1f7f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a48774eb60f430575bb589e92b31db938746a276c176b2bdd37776df1f7f8a", kill_on_drop: false }` [INFO] [stdout] 04a48774eb60f430575bb589e92b31db938746a276c176b2bdd37776df1f7f8a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08185c1486f57d83b3fe35f9c4316eae2dd8395f635c29d1845d802c65621573 [INFO] running `Command { std: "docker" "start" "-a" "08185c1486f57d83b3fe35f9c4316eae2dd8395f635c29d1845d802c65621573", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-stable-structures v0.6.2 [INFO] [stderr] Compiling candid v0.10.3 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Compiling ic-cdk v0.12.1 [INFO] [stderr] Compiling file_upload_backend v0.1.0 (/opt/rustwide/workdir/src/file_upload_backend) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_upload_backend/src/lib.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_upload_backend/src/lib.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcaKaTiD/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcaKaTiD/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-4ba2f51e7ad88149,libic0-e4685f6e422356ff,libcandid-2a762253037b826b,libstacker-8623a07bdbe34f99,libpsm-28e12fd50cefdc40,liblibc-25f9fd4729b8fe79,libhex-e3cafe4f5c98898b,libserde_bytes-283449e08b001275,libpretty-9a4ca09f8df1469a,libunicode_width-a0f9e427b0ce7864,libarrayvec-a8c807f66e435710,libtyped_arena-1dbb7a0cf7511b93,libleb128-2ae2111f1e2f747a,libbyteorder-2111db28b855e2ca,libnum_bigint-cc914a1080e7ce76,libnum_integer-a4b8387b0f245fc3,libnum_traits-d7ce47804750a148,libanyhow-f7bf3197346a3f67,libbinread-ad3d4f01449e8769,liblazy_static-7d7e4d59d48eac89,libic_stable_structures-0e1b778fadc790bd,libic_principal-6a223608594078ea,libcrc32fast-99f264ad011ddece,libdata_encoding-c08200fdd8cabe56,libthiserror-9251f3537707fe9b,libsha2-eb43cecfa8d5561d,libcpufeatures-ce34552494dd2fb2,libcfg_if-6a7eff3bb9b3cc11,libdigest-ea75fb17aedde08f,libblock_buffer-36931604dd9f8b7d,libcrypto_common-275ab3afd2d54a03,libgeneric_array-2e7f17bc10b569c8,libtypenum-0463e5580ed3b454,libserde-884f5c548452748b}.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/rustcaKaTiD/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-85a03c436db0e2c1/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libfile_upload_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/rustcaKaTiD/list:3: ; expected, but got get [INFO] [stdout] >>> canister_query get; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file_upload_backend` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08185c1486f57d83b3fe35f9c4316eae2dd8395f635c29d1845d802c65621573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08185c1486f57d83b3fe35f9c4316eae2dd8395f635c29d1845d802c65621573", kill_on_drop: false }` [INFO] [stdout] 08185c1486f57d83b3fe35f9c4316eae2dd8395f635c29d1845d802c65621573