[INFO] cloning repository https://github.com/Octan-Labs/Octan_Pay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Octan-Labs/Octan_Pay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOctan-Labs%2FOctan_Pay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOctan-Labs%2FOctan_Pay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fa4acab8c47840a44ba19c09df62a264b8b0394 [INFO] checking Octan-Labs/Octan_Pay against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOctan-Labs%2FOctan_Pay" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Octan-Labs/Octan_Pay on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Octan-Labs/Octan_Pay [INFO] finished tweaking git repo https://github.com/Octan-Labs/Octan_Pay [INFO] tweaked toml for git repo https://github.com/Octan-Labs/Octan_Pay written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Octan-Labs/Octan_Pay 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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic0 v0.18.10 [INFO] [stderr] Downloaded ic-ledger-types v0.5.0 [INFO] [stderr] Downloaded ic-cdk v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59bddf663521ce6a0e7fc7d8d7876e63bd62ec59d7240030747a26566a859101 [INFO] running `Command { std: "docker" "start" "-a" "59bddf663521ce6a0e7fc7d8d7876e63bd62ec59d7240030747a26566a859101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59bddf663521ce6a0e7fc7d8d7876e63bd62ec59d7240030747a26566a859101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bddf663521ce6a0e7fc7d8d7876e63bd62ec59d7240030747a26566a859101", kill_on_drop: false }` [INFO] [stdout] 59bddf663521ce6a0e7fc7d8d7876e63bd62ec59d7240030747a26566a859101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dae2022cab7ce7c613c71b74e8e85d35413617f2ae076323f65ae2908660917 [INFO] running `Command { std: "docker" "start" "-a" "1dae2022cab7ce7c613c71b74e8e85d35413617f2ae076323f65ae2908660917", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.2 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking generic-array v0.14.7 [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 regex v1.8.4 [INFO] [stderr] Compiling toml_edit v0.19.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking ic0 v0.18.10 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking serde_bytes v0.11.9 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Checking ic-cdk v0.7.4 [INFO] [stderr] Checking ic-cdk v0.8.1 [INFO] [stderr] Checking ic-cdk-timers v0.1.2 [INFO] [stderr] Checking ic-ledger-types v0.5.0 [INFO] [stderr] Checking octan_pay_backend v0.1.0 (/opt/rustwide/workdir/src/octan_pay_backend) [INFO] [stdout] warning: unused import: `ic_cdk::call` [INFO] [stdout] --> src/octan_pay_backend/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::call; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Nat`, `candid_method` [INFO] [stdout] --> src/octan_pay_backend/src/lib.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::export::candid::{Nat, candid_method}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::call` [INFO] [stdout] --> src/octan_pay_backend/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::call; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Nat`, `candid_method` [INFO] [stdout] --> src/octan_pay_backend/src/lib.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk::export::candid::{Nat, candid_method}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_custodian` [INFO] [stdout] --> src/octan_pay_backend/src/ledger.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn init_metadata(&mut self, default_custodian: Principal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_custodian` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_custodian` [INFO] [stdout] --> src/octan_pay_backend/src/ledger.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn init_metadata(&mut self, default_custodian: Principal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_custodian` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AddAllowedCreatorResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub type AddAllowedCreatorResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddAllowedCreatorSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct AddAllowedCreatorSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddAllowedCreatorErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum AddAllowedCreatorErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveAllowedCreatorArgs` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct RemoveAllowedCreatorArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RemoveAllowedCreatorResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub type RemoveAllowedCreatorResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveAllowedCreatorSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct RemoveAllowedCreatorSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RemoveAllowedCreatorErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum RemoveAllowedCreatorErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GetAllowedCreatorsListResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub type GetAllowedCreatorsListResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetAllowedCreatorsListSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct GetAllowedCreatorsListSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GetAllowedCreatorsListErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum GetAllowedCreatorsListErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CreateInvoiceResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | pub type CreateInvoiceResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateInvoiceSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct CreateInvoiceSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CreateInvoiceErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum CreateInvoiceErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/octan_pay_backend/src/lib.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AddAllowedCreatorResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub type AddAllowedCreatorResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddAllowedCreatorSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct AddAllowedCreatorSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddAllowedCreatorErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum AddAllowedCreatorErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveAllowedCreatorArgs` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct RemoveAllowedCreatorArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RemoveAllowedCreatorResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub type RemoveAllowedCreatorResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveAllowedCreatorSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct RemoveAllowedCreatorSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RemoveAllowedCreatorErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum RemoveAllowedCreatorErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GetAllowedCreatorsListResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub type GetAllowedCreatorsListResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetAllowedCreatorsListSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct GetAllowedCreatorsListSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GetAllowedCreatorsListErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum GetAllowedCreatorsListErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CreateInvoiceResult` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | pub type CreateInvoiceResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateInvoiceSuccess` is never constructed [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct CreateInvoiceSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CreateInvoiceErr` is never used [INFO] [stdout] --> src/octan_pay_backend/src/types.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum CreateInvoiceErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.32s [INFO] running `Command { std: "docker" "inspect" "1dae2022cab7ce7c613c71b74e8e85d35413617f2ae076323f65ae2908660917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dae2022cab7ce7c613c71b74e8e85d35413617f2ae076323f65ae2908660917", kill_on_drop: false }` [INFO] [stdout] 1dae2022cab7ce7c613c71b74e8e85d35413617f2ae076323f65ae2908660917 [INFO] checking Octan-Labs/Octan_Pay against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOctan-Labs%2FOctan_Pay" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Octan-Labs/Octan_Pay on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Octan-Labs/Octan_Pay [INFO] finished tweaking git repo https://github.com/Octan-Labs/Octan_Pay [INFO] tweaked toml for git repo https://github.com/Octan-Labs/Octan_Pay written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Octan-Labs/Octan_Pay 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" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69d5f90152aaef6660362978440caccc801774ef30fc83a6a82c2af031d2ae50 [INFO] running `Command { std: "docker" "start" "-a" "69d5f90152aaef6660362978440caccc801774ef30fc83a6a82c2af031d2ae50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69d5f90152aaef6660362978440caccc801774ef30fc83a6a82c2af031d2ae50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d5f90152aaef6660362978440caccc801774ef30fc83a6a82c2af031d2ae50", kill_on_drop: false }` [INFO] [stdout] 69d5f90152aaef6660362978440caccc801774ef30fc83a6a82c2af031d2ae50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f63f25eef587f4dcfd83824327ac2516b1322f28c518b8316b59d47e34a4de80 [INFO] running `Command { std: "docker" "start" "-a" "f63f25eef587f4dcfd83824327ac2516b1322f28c518b8316b59d47e34a4de80", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling toml_datetime v0.6.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking generic-array v0.14.7 [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 log v0.4.19 [INFO] [stderr] Compiling toml_edit v0.19.10 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] 1321 | | Doc::Fail => &Doc::Fail, [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ----------------------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1324 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::BorrowedText(" "))) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | &Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1332 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | __________________- [INFO] [stdout] 1333 | || RefDoc(&Doc::Line), [INFO] [stdout] 1334 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1335 | || ))) [INFO] [stdout] | ||___________________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1332 | | &Doc::Group(RefDoc(&Doc::FlatAlt( [INFO] [stdout] | | _____________________________________- [INFO] [stdout] 1333 | || RefDoc(&Doc::Line), [INFO] [stdout] 1334 | || RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] 1335 | || ))) [INFO] [stdout] | ||_________________- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |___________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1334 | | RefDoc(&Doc::BorrowedText(" ")), [INFO] [stdout] | | ---------------------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1333 | | RefDoc(&Doc::Line), [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | ------------------------------------------------------------------------ temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.10.0/src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | / RefDoc(match doc { [INFO] [stdout] 1318 | | // Return 'static references for common variants to avoid some allocations [INFO] [stdout] 1319 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 1320 | | Doc::Line => &Doc::Line, [INFO] [stdout] ... | [INFO] [stdout] 1339 | | &Doc::Group(RefDoc(&Doc::FlatAlt(RefDoc(&Doc::Line), RefDoc(&Doc::Nil)))) [INFO] [stdout] | | --------- temporary value created here [INFO] [stdout] 1340 | | } [INFO] [stdout] 1341 | | _ => self.docs.alloc(doc), [INFO] [stdout] 1342 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pretty` (lib) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f63f25eef587f4dcfd83824327ac2516b1322f28c518b8316b59d47e34a4de80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63f25eef587f4dcfd83824327ac2516b1322f28c518b8316b59d47e34a4de80", kill_on_drop: false }` [INFO] [stdout] f63f25eef587f4dcfd83824327ac2516b1322f28c518b8316b59d47e34a4de80