[INFO] cloning repository https://github.com/GLicDEV/invoices_as_nft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GLicDEV/invoices_as_nft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGLicDEV%2Finvoices_as_nft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGLicDEV%2Finvoices_as_nft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adf856f66f37c838bf45598945f963e4d2bf5efb [INFO] checking GLicDEV/invoices_as_nft against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGLicDEV%2Finvoices_as_nft" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GLicDEV/invoices_as_nft on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GLicDEV/invoices_as_nft [INFO] finished tweaking git repo https://github.com/GLicDEV/invoices_as_nft [INFO] tweaked toml for git repo https://github.com/GLicDEV/invoices_as_nft written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GLicDEV/invoices_as_nft 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-ledger-types v0.1.2 [INFO] [stderr] Downloaded ic-types v0.3.0 [INFO] [stderr] Downloaded candid v0.7.14 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] [stderr] Downloaded ic-cdk-macros v0.5.1 [INFO] [stderr] Downloaded ic-cdk v0.5.1 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0153f190d9b8569dba06f44a0c73274ba0925c03b31c669c9c33c246da90a4f8 [INFO] running `Command { std: "docker" "start" "-a" "0153f190d9b8569dba06f44a0c73274ba0925c03b31c669c9c33c246da90a4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0153f190d9b8569dba06f44a0c73274ba0925c03b31c669c9c33c246da90a4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0153f190d9b8569dba06f44a0c73274ba0925c03b31c669c9c33c246da90a4f8", kill_on_drop: false }` [INFO] [stdout] 0153f190d9b8569dba06f44a0c73274ba0925c03b31c669c9c33c246da90a4f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9a809005be52b7a15a3b24741638406f5846d9061917ede83a34db32e392bbc [INFO] running `Command { std: "docker" "start" "-a" "b9a809005be52b7a15a3b24741638406f5846d9061917ede83a34db32e392bbc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling candid v0.7.14 [INFO] [stderr] Checking serde_bytes v0.11.6 [INFO] [stderr] Checking ic-types v0.3.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Checking ic-cdk v0.5.1 [INFO] [stderr] Checking ic-ledger-types v0.1.2 [INFO] [stderr] Compiling ic-cdk-macros v0.5.1 [INFO] [stderr] Checking simple_guestbook v0.1.0 (/opt/rustwide/workdir/src/simple_guestbook) [INFO] [stderr] Checking invoice_canister v0.1.0 (/opt/rustwide/workdir/src/invoice_canister) [INFO] [stdout] warning: unused imports: `Ref` and `str::FromStr` [INFO] [stdout] --> src/invoice_canister/src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | collections::HashMap, [INFO] [stdout] 18 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref` and `str::FromStr` [INFO] [stdout] --> src/invoice_canister/src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | collections::HashMap, [INFO] [stdout] 18 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `caller`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_state` [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | fn upgrade_ultimate_impl(runtime_state: &mut RuntimeState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `canister_id`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `caller`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_state` [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | fn upgrade_ultimate_impl(runtime_state: &mut RuntimeState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `canister_id`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.67s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b9a809005be52b7a15a3b24741638406f5846d9061917ede83a34db32e392bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a809005be52b7a15a3b24741638406f5846d9061917ede83a34db32e392bbc", kill_on_drop: false }` [INFO] [stdout] b9a809005be52b7a15a3b24741638406f5846d9061917ede83a34db32e392bbc [INFO] checking GLicDEV/invoices_as_nft against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGLicDEV%2Finvoices_as_nft" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GLicDEV/invoices_as_nft on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GLicDEV/invoices_as_nft [INFO] finished tweaking git repo https://github.com/GLicDEV/invoices_as_nft [INFO] tweaked toml for git repo https://github.com/GLicDEV/invoices_as_nft written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GLicDEV/invoices_as_nft 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d2241bbc92b0b067162af9403c031f71444e32cd8b7533f88f401b5d3b3829 [INFO] running `Command { std: "docker" "start" "-a" "29d2241bbc92b0b067162af9403c031f71444e32cd8b7533f88f401b5d3b3829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d2241bbc92b0b067162af9403c031f71444e32cd8b7533f88f401b5d3b3829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d2241bbc92b0b067162af9403c031f71444e32cd8b7533f88f401b5d3b3829", kill_on_drop: false }` [INFO] [stdout] 29d2241bbc92b0b067162af9403c031f71444e32cd8b7533f88f401b5d3b3829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9dffa681a9923466d773e875bc03f8de2e08f129d4c97feac119f392a23f00c [INFO] running `Command { std: "docker" "start" "-a" "f9dffa681a9923466d773e875bc03f8de2e08f129d4c97feac119f392a23f00c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling candid v0.7.14 [INFO] [stderr] Checking serde_bytes v0.11.6 [INFO] [stderr] Checking ic-types v0.3.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking ic-cdk v0.5.1 [INFO] [stderr] Checking ic-ledger-types v0.1.2 [INFO] [stderr] Compiling ic-cdk-macros v0.5.1 [INFO] [stderr] Checking simple_guestbook v0.1.0 (/opt/rustwide/workdir/src/simple_guestbook) [INFO] [stderr] Checking invoice_canister v0.1.0 (/opt/rustwide/workdir/src/invoice_canister) [INFO] [stdout] warning: unused imports: `Ref` and `str::FromStr` [INFO] [stdout] --> src/invoice_canister/src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | collections::HashMap, [INFO] [stdout] 18 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref` and `str::FromStr` [INFO] [stdout] --> src/invoice_canister/src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | collections::HashMap, [INFO] [stdout] 18 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_state` [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | fn upgrade_ultimate_impl(runtime_state: &mut RuntimeState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `canister_id`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(CandidType, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(CandidType, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | RUNTIME_STATE.with(|state| add_impl(text, &mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | RUNTIME_STATE.with(|state| get_all_impl(state.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:135:54 [INFO] [stdout] | [INFO] [stdout] 135 | RUNTIME_STATE.with(|state| get_user_details_impl(state.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(CandidType, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:160:45 [INFO] [stdout] | [INFO] [stdout] 160 | let caller = RUNTIME_STATE.with(|state| state.borrow().env.caller()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:213:45 [INFO] [stdout] | [INFO] [stdout] 213 | let caller = RUNTIME_STATE.with(|state| state.borrow().env.caller()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | RUNTIME_STATE.with(|state| state.borrow_mut().data.upgrade_requests.insert(caller, x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:247:59 [INFO] [stdout] | [INFO] [stdout] 247 | RUNTIME_STATE.with(|state| upgrade_ultimate_impl(&mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lifetime.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | RUNTIME_STATE.with(|state| ic_cdk::storage::stable_save((&state.borrow().data,)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_state` [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | fn upgrade_ultimate_impl(runtime_state: &mut RuntimeState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `canister_id`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/simple_guestbook/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(CandidType, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(CandidType, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | RUNTIME_STATE.with(|state| add_impl(text, &mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | RUNTIME_STATE.with(|state| get_all_impl(state.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:135:54 [INFO] [stdout] | [INFO] [stdout] 135 | RUNTIME_STATE.with(|state| get_user_details_impl(state.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(CandidType, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:160:45 [INFO] [stdout] | [INFO] [stdout] 160 | let caller = RUNTIME_STATE.with(|state| state.borrow().env.caller()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:213:45 [INFO] [stdout] | [INFO] [stdout] 213 | let caller = RUNTIME_STATE.with(|state| state.borrow().env.caller()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | RUNTIME_STATE.with(|state| state.borrow_mut().data.upgrade_requests.insert(caller, x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lib.rs:247:59 [INFO] [stdout] | [INFO] [stdout] 247 | RUNTIME_STATE.with(|state| upgrade_ultimate_impl(&mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/simple_guestbook/src/lifetime.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | RUNTIME_STATE.with(|state| ic_cdk::storage::stable_save((&state.borrow().data,)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_guestbook` (lib) due to 12 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `caller`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(CandidType, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | let req_state = RUNTIME_STATE.with(|state| state.borrow().data.requests.get(&acc_id).cloned()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | RUNTIME_STATE.with(|state| verify_payment_impl(acc_id, &mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:131:69 [INFO] [stdout] | [INFO] [stdout] 131 | RUNTIME_STATE.with(|state| upgrade_premium_impl(principal, &mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:193:59 [INFO] [stdout] | [INFO] [stdout] 193 | RUNTIME_STATE.with(|state| upgrade_ultimate_impl(&mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_guestbook` (lib test) due to 12 previous errors; 3 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lifetime.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | RUNTIME_STATE.with(|state| ic_cdk::storage::stable_save((&state.borrow().data,)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `invoice_canister` (lib) due to 7 previous errors; 3 warnings emitted [INFO] [stdout] warning: constant `MILLIS_TO_SECONDS` is never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MILLIS_TO_SECONDS: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now`, `caller`, `random_u32`, `cycles_balance`, and `memory_used` are never used [INFO] [stdout] --> src/invoice_canister/src/env.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Environment { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 11 | fn now(&self) -> TimestampMillis; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn caller(&self) -> Principal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn canister_id(&self) -> Principal; [INFO] [stdout] 14 | fn random_u32(&mut self) -> u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn cycles_balance(&self) -> Cycles; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn memory_used(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(CandidType, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | let req_state = RUNTIME_STATE.with(|state| state.borrow().data.requests.get(&acc_id).cloned()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | RUNTIME_STATE.with(|state| verify_payment_impl(acc_id, &mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:131:69 [INFO] [stdout] | [INFO] [stdout] 131 | RUNTIME_STATE.with(|state| upgrade_premium_impl(principal, &mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lib.rs:193:59 [INFO] [stdout] | [INFO] [stdout] 193 | RUNTIME_STATE.with(|state| upgrade_ultimate_impl(&mut state.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/invoice_canister/src/lifetime.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | RUNTIME_STATE.with(|state| ic_cdk::storage::stable_save((&state.borrow().data,)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `invoice_canister` (lib test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f9dffa681a9923466d773e875bc03f8de2e08f129d4c97feac119f392a23f00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9dffa681a9923466d773e875bc03f8de2e08f129d4c97feac119f392a23f00c", kill_on_drop: false }` [INFO] [stdout] f9dffa681a9923466d773e875bc03f8de2e08f129d4c97feac119f392a23f00c