[INFO] cloning repository https://github.com/tuminfei/icrc7_launchpad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuminfei/icrc7_launchpad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuminfei%2Ficrc7_launchpad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuminfei%2Ficrc7_launchpad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcf997c379eec9af5c33247f0b004986732211ef [INFO] testing tuminfei/icrc7_launchpad against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuminfei%2Ficrc7_launchpad" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tuminfei/icrc7_launchpad [INFO] finished tweaking git repo https://github.com/tuminfei/icrc7_launchpad [INFO] tweaked toml for git repo https://github.com/tuminfei/icrc7_launchpad written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuminfei/icrc7_launchpad on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuminfei/icrc7_launchpad 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing tuminfei/icrc7_launchpad against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuminfei%2Ficrc7_launchpad" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tuminfei/icrc7_launchpad [INFO] finished tweaking git repo https://github.com/tuminfei/icrc7_launchpad [INFO] tweaked toml for git repo https://github.com/tuminfei/icrc7_launchpad written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuminfei/icrc7_launchpad on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuminfei/icrc7_launchpad 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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 ic-cdk-macros v0.13.2 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.5 [INFO] [stderr] Downloaded ic-cdk v0.13.2 [INFO] [stderr] Downloaded ic-cdk-timers v0.7.0 [INFO] [stderr] Downloaded ic-certified-map v0.4.0 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded candid v0.10.7 [INFO] [stderr] Downloaded ic-stable-structures v0.6.1 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39d6477ad492de6eab2591df2ce2b80a6c0994935e1dbd927ea735365e7268ce [INFO] running `Command { std: "docker" "start" "-a" "39d6477ad492de6eab2591df2ce2b80a6c0994935e1dbd927ea735365e7268ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39d6477ad492de6eab2591df2ce2b80a6c0994935e1dbd927ea735365e7268ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d6477ad492de6eab2591df2ce2b80a6c0994935e1dbd927ea735365e7268ce", kill_on_drop: false }` [INFO] [stdout] 39d6477ad492de6eab2591df2ce2b80a6c0994935e1dbd927ea735365e7268ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a43fe3bddb205edfdc7d7bce72c1d27ff3e933f745b9c09ec7f6c47cafd80b6f [INFO] running `Command { std: "docker" "start" "-a" "a43fe3bddb205edfdc7d7bce72c1d27ff3e933f745b9c09ec7f6c47cafd80b6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [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 serde_bytes v0.11.14 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling ic-stable-structures v0.6.1 [INFO] [stderr] Compiling ic-certified-map v0.4.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tests v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stdout] warning: constant `IDENTITY` is never used [INFO] [stdout] --> tests/src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const IDENTITY: &str = "deploy"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK` is never used [INFO] [stdout] --> tests/src/lib.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const NETWORK: &str = "local"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSETS_DIR` is never used [INFO] [stdout] --> tests/src/lib.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const ASSETS_DIR: &str = "../assets"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGNORE_FILES` is never used [INFO] [stdout] --> tests/src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const IGNORE_FILES: [&str; 4] = [".DS_Store", ".gitkeep", ".gitignore", ".git"]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_SIZE` is never used [INFO] [stdout] --> tests/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CHUNK_SIZE: u64 = 1024 * 1024 * 2 - 1024 * 128; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DFX_PROGRAM` is never used [INFO] [stdout] --> tests/src/lib.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DFX_PROGRAM: &str = "/usr/local/bin/dfx"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalFile` is never constructed [INFO] [stdout] --> tests/src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct LocalFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadFile` is never constructed [INFO] [stdout] --> tests/src/lib.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct UploadFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXT_CONTENT_TYPES` is never used [INFO] [stdout] --> tests/src/lib.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const EXT_CONTENT_TYPES: [(&str, &str); 50] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_local_files` is never used [INFO] [stdout] --> tests/src/lib.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn load_local_files(prefix: &str, dir_path: &str, files: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_local_file` is never used [INFO] [stdout] --> tests/src/lib.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn load_local_file(path: &str) -> LocalFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_hash` is never used [INFO] [stdout] --> tests/src/lib.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn do_hash(data: &Vec) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_headers` is never used [INFO] [stdout] --> tests/src/lib.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn get_headers(file: &str) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_remote_files` is never used [INFO] [stdout] --> tests/src/lib.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn load_remote_files() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_remote_files` is never used [INFO] [stdout] --> tests/src/lib.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn parse_remote_files(output: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_files` is never used [INFO] [stdout] --> tests/src/lib.rs:417:4 [INFO] [stdout] | [INFO] [stdout] 417 | fn delete_files(names: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_files` is never used [INFO] [stdout] --> tests/src/lib.rs:479:4 [INFO] [stdout] | [INFO] [stdout] 479 | fn upload_files(local_files: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_upload_file` is never used [INFO] [stdout] --> tests/src/lib.rs:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | fn do_upload_file(local_files: &Vec, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> tests/src/lib.rs:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | fn write_file(path: &str, content: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_upload_file_to_canister` is never used [INFO] [stdout] --> tests/src/lib.rs:598:4 [INFO] [stdout] | [INFO] [stdout] 598 | fn do_upload_file_to_canister(arg: &str, local_files: &Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling candid v0.10.7 [INFO] [stderr] Compiling icrc-ledger-types v0.1.5 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Compiling icrc7-types v0.1.0 (/opt/rustwide/workdir/src/icrc7_types) [INFO] [stderr] Compiling ic-cdk v0.13.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/icrc7_types/src/icrc3_types.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 23 | 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/icrc7_types/src/icrc37_types.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | 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] 26 | 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/icrc7_types/src/icrc37_types.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 68 | 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/icrc7_types/src/icrc37_types.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 101 | 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/icrc7_types/src/icrc37_types.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | 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] 157 | 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/icrc7_types/src/icrc37_types.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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/icrc7_types/src/icrc7_types.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | 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] 313 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-cdk-timers v0.7.0 [INFO] [stderr] Compiling icrc7 v0.1.0 (/opt/rustwide/workdir/src/icrc7) [INFO] [stderr] Compiling icrc7_launchpad v0.1.0 (/opt/rustwide/workdir/src/icrc7_launchpad) [INFO] [stderr] Compiling icrc7_archive v0.1.0 (/opt/rustwide/workdir/src/icrc7_archive) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/opt/rustwide/target/debug/deps/rustcQKNFXK/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcQKNFXK/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libicrc7_types-3fa4fb72b4c73e9f,libicrc_ledger_types-28134ba0a07419e2,libbase32-39d04fa1fa68181d,libic_stable_structures-dfe02f9aa63f1e5d,libic_cdk-92dcc44c08b0bd7f,libic0-88cedc4127ae8e95,libcandid-2877c767bf8ae4d0,libstacker-798143a22210dafa,libpsm-9ef517d89b203d88,liblibc-200e74a8915e4247,libhex-28742b4ca144387c,libserde_bytes-55fd4bfefa182437,libpretty-3cee850357e15392,libunicode_width-ff8848b4c91bc42d,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-b3e84134035c0d6c,libcrc32fast-a72b5faa4f062e07,libdata_encoding-27d68fb865743c1d,libsha2-2782a3fb8673adcb,libcpufeatures-42c2188ae17ada4c,libcfg_if-33ef6c02a07f9fec,libdigest-3904ab3b2258413d,libblock_buffer-be38e141c111901c,libcrypto_common-339167435333e108,libgeneric_array-a548462fd27ccc4c,libtypenum-d9cba146b74f4906,libnum_bigint-fb7ae34987ba54f2,libnum_integer-ec30fc120c3bc7df,libnum_traits-b876f60c413c65ca,libanyhow-f1cb427309bcdc79,libbinread-a90e3f29237716fe,liblazy_static-2bb390fee0230a38,libthiserror-e6a3b5d54d02343d,libserde-9c77564af349e739}.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/deps/rustcQKNFXK/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-46c11ad67052757d/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libicrc7_launchpad.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/deps/rustcQKNFXK/list:3: ; expected, but got __get_candid_interface_tmp_hack [INFO] [stdout] >>> canister_query __get_candid_interface_tmp_hack; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icrc7_launchpad` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/icrc7_archive/src/state.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 28 | 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=/opt/rustwide/target/debug/deps/rustcLGeRNn/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcLGeRNn/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-92dcc44c08b0bd7f,libic0-88cedc4127ae8e95,libicrc_ledger_types-28134ba0a07419e2,libbase32-39d04fa1fa68181d,libic_stable_structures-dfe02f9aa63f1e5d,libcandid-2877c767bf8ae4d0,libstacker-798143a22210dafa,libpsm-9ef517d89b203d88,liblibc-200e74a8915e4247,libhex-28742b4ca144387c,libserde_bytes-55fd4bfefa182437,libpretty-3cee850357e15392,libunicode_width-ff8848b4c91bc42d,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-b3e84134035c0d6c,libcrc32fast-a72b5faa4f062e07,libdata_encoding-27d68fb865743c1d,libsha2-2782a3fb8673adcb,libcpufeatures-42c2188ae17ada4c,libcfg_if-33ef6c02a07f9fec,libdigest-3904ab3b2258413d,libblock_buffer-be38e141c111901c,libcrypto_common-339167435333e108,libgeneric_array-a548462fd27ccc4c,libtypenum-d9cba146b74f4906,libnum_bigint-fb7ae34987ba54f2,libnum_integer-ec30fc120c3bc7df,libnum_traits-b876f60c413c65ca,libanyhow-f1cb427309bcdc79,libbinread-a90e3f29237716fe,liblazy_static-2bb390fee0230a38,libthiserror-e6a3b5d54d02343d,libserde-9c77564af349e739}.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/deps/rustcLGeRNn/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-46c11ad67052757d/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libicrc7_archive.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/deps/rustcLGeRNn/list:6: ; expected, but got __get_candid_interface_tmp_hack [INFO] [stdout] >>> canister_query __get_candid_interface_tmp_hack; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icrc7_archive` (lib) due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: useless assignment of field of type `u128` to itself [INFO] [stdout] --> src/icrc7/src/state.rs:2008:25 [INFO] [stdout] | [INFO] [stdout] 2008 | transaction_range.start = transaction_range.start; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/icrc7/src/icrc7_types.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | 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] 313 | 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/icrc7/src/icrc37_types.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | 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] 29 | 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/icrc7/src/icrc37_types.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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] 83 | 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/icrc7/src/icrc37_types.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | 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] 116 | 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/icrc7/src/icrc37_types.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | 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] 172 | 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/icrc7/src/icrc37_types.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | 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] 215 | 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/icrc7/src/icrc3_types.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 23 | 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/icrc7/src/state.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | 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] 58 | 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=/opt/rustwide/target/debug/deps/rustcCVZAIk/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcCVZAIk/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_cbor-91a8aa6055ce800a,libciborium-60c83d4bb631ca43,libciborium_ll-35bac1ff8c773f05,libhalf-b57b44b63c8ec328,libciborium_io-e12e79df21b89f9a,libic_certified_map-eefca0500df1c9f8,libic_cdk_timers-693a1f67f33a9a85,libic_cdk-92dcc44c08b0bd7f,libic0-88cedc4127ae8e95,libslotmap-b325034020f0551a,libfutures-07489271f1d29df6,libfutures_executor-78c10e8769333e34,libfutures_util-5a8d0e4ed4f1407e,libmemchr-659d2f3239d1b4b2,libfutures_io-1e8dd8eeffe2c5f5,libslab-d5baaec43f78caea,libfutures_channel-7853d5578c04680c,libpin_project_lite-e0c50e8704e39276,libfutures_sink-14e79dfc79b50e92,libfutures_task-a34acde6ee26d4ab,libpin_utils-9a5791cba021167a,libfutures_core-14ebb66ec99947da,libicrc_ledger_types-28134ba0a07419e2,libbase32-39d04fa1fa68181d,libic_stable_structures-dfe02f9aa63f1e5d,libcandid-2877c767bf8ae4d0,libstacker-798143a22210dafa,libpsm-9ef517d89b203d88,liblibc-200e74a8915e4247,libhex-28742b4ca144387c,libserde_bytes-55fd4bfefa182437,libpretty-3cee850357e15392,libunicode_width-ff8848b4c91bc42d,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-b3e84134035c0d6c,libcrc32fast-a72b5faa4f062e07,libdata_encoding-27d68fb865743c1d,libsha2-2782a3fb8673adcb,libcpufeatures-42c2188ae17ada4c,libcfg_if-33ef6c02a07f9fec,libdigest-3904ab3b2258413d,libblock_buffer-be38e141c111901c,libcrypto_common-339167435333e108,libgeneric_array-a548462fd27ccc4c,libtypenum-d9cba146b74f4906,libnum_bigint-fb7ae34987ba54f2,libnum_integer-ec30fc120c3bc7df,libnum_traits-b876f60c413c65ca,libanyhow-f1cb427309bcdc79,libbinread-a90e3f29237716fe,liblazy_static-2bb390fee0230a38,libthiserror-e6a3b5d54d02343d,libserde-9c77564af349e739}.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/deps/rustcCVZAIk/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-46c11ad67052757d/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libicrc7.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/deps/rustcCVZAIk/list:6: ; expected, but got __get_candid_interface_tmp_hack [INFO] [stdout] >>> canister_query __get_candid_interface_tmp_hack; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icrc7` (lib) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a43fe3bddb205edfdc7d7bce72c1d27ff3e933f745b9c09ec7f6c47cafd80b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43fe3bddb205edfdc7d7bce72c1d27ff3e933f745b9c09ec7f6c47cafd80b6f", kill_on_drop: false }` [INFO] [stdout] a43fe3bddb205edfdc7d7bce72c1d27ff3e933f745b9c09ec7f6c47cafd80b6f