[INFO] fetching crate cap-common 0.2.3... [INFO] testing cap-common-0.2.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cap-common 0.2.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate cap-common 0.2.3 [INFO] finished tweaking crates.io crate cap-common 0.2.3 [INFO] tweaked toml for crates.io crate cap-common 0.2.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cap-common 0.2.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 187 packages to latest compatible versions [INFO] [stderr] Adding candid v0.7.18 (available: v0.10.14) [INFO] [stderr] Adding ic-cdk v0.5.7 (available: v0.18.5) [INFO] [stderr] Adding ic-certified-map v0.3.4 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded ic-kit-macros v0.1.0 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded ic-certified-map v0.3.4 [INFO] [stderr] Downloaded ic-kit v0.4.8 [INFO] [stderr] Downloaded certified-vars v0.1.4 [INFO] [stderr] Downloaded candid v0.7.18 [INFO] [stderr] Downloaded ic-cdk v0.5.7 [INFO] [stderr] Downloaded ic-types v0.5.0 [INFO] [stderr] Downloaded candid_derive v0.4.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8fb03648cda1dbeabcf889f712f43e2b4ba4552e9e89fed53d0fddd7d18a6a0 [INFO] running `Command { std: "docker" "start" "-a" "e8fb03648cda1dbeabcf889f712f43e2b4ba4552e9e89fed53d0fddd7d18a6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8fb03648cda1dbeabcf889f712f43e2b4ba4552e9e89fed53d0fddd7d18a6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8fb03648cda1dbeabcf889f712f43e2b4ba4552e9e89fed53d0fddd7d18a6a0", kill_on_drop: false }` [INFO] [stdout] e8fb03648cda1dbeabcf889f712f43e2b4ba4552e9e89fed53d0fddd7d18a6a0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bc74bd814a820722e44eaa6958278d36030afac6c66d8c65b5ab777eb923cfee [INFO] running `Command { std: "docker" "start" "-a" "bc74bd814a820722e44eaa6958278d36030afac6c66d8c65b5ab777eb923cfee", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-kit-macros v0.1.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ic-types v0.5.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ic-certified-map v0.3.4 [INFO] [stderr] Compiling candid v0.7.18 [INFO] [stderr] Compiling ic-cdk v0.5.7 [INFO] [stderr] Compiling ic-kit v0.4.8 [INFO] [stderr] Compiling certified-vars v0.1.4 [INFO] [stderr] Compiling cap-common v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 114 | arg: GetUserTransactionsArg, [INFO] [stdout] 115 | ) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 145 | arg: GetTokenTransactionsArg, [INFO] [stdout] 146 | ) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:171:42 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "bc74bd814a820722e44eaa6958278d36030afac6c66d8c65b5ab777eb923cfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc74bd814a820722e44eaa6958278d36030afac6c66d8c65b5ab777eb923cfee", kill_on_drop: false }` [INFO] [stdout] bc74bd814a820722e44eaa6958278d36030afac6c66d8c65b5ab777eb923cfee [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a188251600e037d01150756630e59cba2835d41ce23c098bfe2a576a20ed4390 [INFO] running `Command { std: "docker" "start" "-a" "a188251600e037d01150756630e59cba2835d41ce23c098bfe2a576a20ed4390", kill_on_drop: false }` [INFO] [stderr] Compiling cap-common v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 114 | arg: GetUserTransactionsArg, [INFO] [stdout] 115 | ) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 145 | arg: GetTokenTransactionsArg, [INFO] [stdout] 146 | ) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:171:42 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `ic_kit::mock_principals`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | use ic_kit::mock_principals; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:413:62 [INFO] [stdout] | [INFO] [stdout] 413 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | list.insert(e(0, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:415:43 [INFO] [stdout] | [INFO] [stdout] 415 | list.insert(e(1, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:416:43 [INFO] [stdout] | [INFO] [stdout] 416 | list.insert(e(2, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:417:43 [INFO] [stdout] | [INFO] [stdout] 417 | list.insert(e(3, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:425:62 [INFO] [stdout] | [INFO] [stdout] 425 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:426:43 [INFO] [stdout] | [INFO] [stdout] 426 | list.insert(e(0, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:427:43 [INFO] [stdout] | [INFO] [stdout] 427 | list.insert(e(1, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:428:43 [INFO] [stdout] | [INFO] [stdout] 428 | list.insert(e(2, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:429:43 [INFO] [stdout] | [INFO] [stdout] 429 | list.insert(e(3, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:439:62 [INFO] [stdout] | [INFO] [stdout] 439 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:440:43 [INFO] [stdout] | [INFO] [stdout] 440 | list.insert(e(0, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:441:43 [INFO] [stdout] | [INFO] [stdout] 441 | list.insert(e(1, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:442:43 [INFO] [stdout] | [INFO] [stdout] 442 | list.insert(e(2, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:443:43 [INFO] [stdout] | [INFO] [stdout] 443 | list.insert(e(3, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:453:62 [INFO] [stdout] | [INFO] [stdout] 453 | let mut list = TransactionList::new(mock_principals::xtc(), 10); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:454:44 [INFO] [stdout] | [INFO] [stdout] 454 | list.insert(e(10, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:455:44 [INFO] [stdout] | [INFO] [stdout] 455 | list.insert(e(11, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:456:44 [INFO] [stdout] | [INFO] [stdout] 456 | list.insert(e(12, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:457:44 [INFO] [stdout] | [INFO] [stdout] 457 | list.insert(e(13, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:466:62 [INFO] [stdout] | [INFO] [stdout] 466 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::bob`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:470:51 [INFO] [stdout] | [INFO] [stdout] 470 | list.insert(e(i, mock_principals::bob())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:472:51 [INFO] [stdout] | [INFO] [stdout] 472 | list.insert(e(i, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::bob`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:479:46 [INFO] [stdout] | [INFO] [stdout] 479 | let principal = mock_principals::bob(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:499:62 [INFO] [stdout] | [INFO] [stdout] 499 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:500:43 [INFO] [stdout] | [INFO] [stdout] 500 | list.insert(e(0, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:501:43 [INFO] [stdout] | [INFO] [stdout] 501 | list.insert(e(1, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:502:43 [INFO] [stdout] | [INFO] [stdout] 502 | list.insert(e(2, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:503:43 [INFO] [stdout] | [INFO] [stdout] 503 | list.insert(e(3, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:513:62 [INFO] [stdout] | [INFO] [stdout] 513 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:514:43 [INFO] [stdout] | [INFO] [stdout] 514 | list.insert(e(0, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:515:43 [INFO] [stdout] | [INFO] [stdout] 515 | list.insert(e(1, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:516:43 [INFO] [stdout] | [INFO] [stdout] 516 | list.insert(e(2, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stdout] --> src/transaction_list.rs:517:43 [INFO] [stdout] | [INFO] [stdout] 517 | list.insert(e(3, mock_principals::alice())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 114 | arg: GetUserTransactionsArg, [INFO] [stdout] 115 | ) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bucket.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 145 | arg: GetTokenTransactionsArg, [INFO] [stdout] 146 | ) -> GetTransactionsResponseBorrowed { [INFO] [stdout] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:171:42 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/transaction_list.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.37s [INFO] running `Command { std: "docker" "inspect" "a188251600e037d01150756630e59cba2835d41ce23c098bfe2a576a20ed4390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a188251600e037d01150756630e59cba2835d41ce23c098bfe2a576a20ed4390", kill_on_drop: false }` [INFO] [stdout] a188251600e037d01150756630e59cba2835d41ce23c098bfe2a576a20ed4390 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f5cff19ca14feb77591de45fa97a7e50ba02323046f8f1a59a765bb2620b8ea [INFO] running `Command { std: "docker" "start" "-a" "7f5cff19ca14feb77591de45fa97a7e50ba02323046f8f1a59a765bb2620b8ea", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bucket.rs:81:29 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed { [INFO] [stderr] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_transactions(&self, arg: GetTransactionsArg) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bucket.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 114 | arg: GetUserTransactionsArg, [INFO] [stderr] 115 | ) -> GetTransactionsResponseBorrowed { [INFO] [stderr] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 115 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bucket.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 145 | arg: GetTokenTransactionsArg, [INFO] [stderr] 146 | ) -> GetTransactionsResponseBorrowed { [INFO] [stderr] | ------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 146 | ) -> GetTransactionsResponseBorrowed<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/transaction_list.rs:171:42 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stderr] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 171 | pub fn witness_transactions_for_user(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/transaction_list.rs:189:46 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree { [INFO] [stderr] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 189 | pub fn witness_transactions_for_contract(&self, principal: &Principal, page: u32) -> HashTree<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/transaction_list.rs:207:43 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 207 | pub fn witness_transactions_for_token(&self, token_id: &u64, page: u32) -> HashTree<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/transaction_list.rs:240:32 [INFO] [stderr] | [INFO] [stderr] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 240 | pub fn witness_transaction(&self, id: u64) -> HashTree<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `ic_kit::mock_principals`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:399:17 [INFO] [stderr] | [INFO] [stderr] 399 | use ic_kit::mock_principals; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:413:62 [INFO] [stderr] | [INFO] [stderr] 413 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:414:43 [INFO] [stderr] | [INFO] [stderr] 414 | list.insert(e(0, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:415:43 [INFO] [stderr] | [INFO] [stderr] 415 | list.insert(e(1, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:416:43 [INFO] [stderr] | [INFO] [stderr] 416 | list.insert(e(2, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:417:43 [INFO] [stderr] | [INFO] [stderr] 417 | list.insert(e(3, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:425:62 [INFO] [stderr] | [INFO] [stderr] 425 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:426:43 [INFO] [stderr] | [INFO] [stderr] 426 | list.insert(e(0, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:427:43 [INFO] [stderr] | [INFO] [stderr] 427 | list.insert(e(1, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:428:43 [INFO] [stderr] | [INFO] [stderr] 428 | list.insert(e(2, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:429:43 [INFO] [stderr] | [INFO] [stderr] 429 | list.insert(e(3, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:439:62 [INFO] [stderr] | [INFO] [stderr] 439 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:440:43 [INFO] [stderr] | [INFO] [stderr] 440 | list.insert(e(0, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:441:43 [INFO] [stderr] | [INFO] [stderr] 441 | list.insert(e(1, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:442:43 [INFO] [stderr] | [INFO] [stderr] 442 | list.insert(e(2, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:443:43 [INFO] [stderr] | [INFO] [stderr] 443 | list.insert(e(3, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:453:62 [INFO] [stderr] | [INFO] [stderr] 453 | let mut list = TransactionList::new(mock_principals::xtc(), 10); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:454:44 [INFO] [stderr] | [INFO] [stderr] 454 | list.insert(e(10, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:455:44 [INFO] [stderr] | [INFO] [stderr] 455 | list.insert(e(11, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:456:44 [INFO] [stderr] | [INFO] [stderr] 456 | list.insert(e(12, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:457:44 [INFO] [stderr] | [INFO] [stderr] 457 | list.insert(e(13, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:466:62 [INFO] [stderr] | [INFO] [stderr] 466 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::bob`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:470:51 [INFO] [stderr] | [INFO] [stderr] 470 | list.insert(e(i, mock_principals::bob())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:472:51 [INFO] [stderr] | [INFO] [stderr] 472 | list.insert(e(i, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::bob`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:479:46 [INFO] [stderr] | [INFO] [stderr] 479 | let principal = mock_principals::bob(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:499:62 [INFO] [stderr] | [INFO] [stderr] 499 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:500:43 [INFO] [stderr] | [INFO] [stderr] 500 | list.insert(e(0, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:501:43 [INFO] [stderr] | [INFO] [stderr] 501 | list.insert(e(1, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:502:43 [INFO] [stderr] | [INFO] [stderr] 502 | list.insert(e(2, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:503:43 [INFO] [stderr] | [INFO] [stderr] 503 | list.insert(e(3, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::xtc`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:513:62 [INFO] [stderr] | [INFO] [stderr] 513 | let mut list = TransactionList::new(mock_principals::xtc(), 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:514:43 [INFO] [stderr] | [INFO] [stderr] 514 | list.insert(e(0, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:515:43 [INFO] [stderr] | [INFO] [stderr] 515 | list.insert(e(1, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:516:43 [INFO] [stderr] | [INFO] [stderr] 516 | list.insert(e(2, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ic_kit::mock_principals::alice`: mock_principals is deprecated. [INFO] [stderr] --> src/transaction_list.rs:517:43 [INFO] [stderr] | [INFO] [stderr] 517 | list.insert(e(3, mock_principals::alice())); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cap-common` (lib) generated 7 warnings (run `cargo fix --lib -p cap-common` to apply 7 suggestions) [INFO] [stderr] warning: `cap-common` (lib test) generated 42 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cap_common-66632def7d39e5f4) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test transaction_list::tests::test_witness_transaction_below_offset ... ok [INFO] [stdout] test transaction_list::tests::test_witness_transaction_large ... ok [INFO] [stdout] test transaction_list::tests::test_witness_transaction ... ok [INFO] [stdout] test transaction_list::tests::serde ... ok [INFO] [stdout] test transaction_list::tests::candid ... ok [INFO] [stdout] test transaction_list::tests::test_hash_tree ... ok [INFO] [stdout] test transaction_list::tests::test_witness_user_transactions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f5cff19ca14feb77591de45fa97a7e50ba02323046f8f1a59a765bb2620b8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5cff19ca14feb77591de45fa97a7e50ba02323046f8f1a59a765bb2620b8ea", kill_on_drop: false }` [INFO] [stdout] 7f5cff19ca14feb77591de45fa97a7e50ba02323046f8f1a59a765bb2620b8ea