[INFO] fetching crate cap-sdk 0.2.4... [INFO] checking cap-sdk-0.2.4 against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] extracting crate cap-sdk 0.2.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate cap-sdk 0.2.4 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 crates.io crate cap-sdk 0.2.4 [INFO] finished tweaking crates.io crate cap-sdk 0.2.4 [INFO] tweaked toml for crates.io crate cap-sdk 0.2.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.7.18 [INFO] [stderr] Downloaded ic-kit-macros v0.1.0 [INFO] [stderr] Downloaded ic-cdk v0.5.7 [INFO] [stderr] Downloaded cap-common v0.2.3 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded certified-vars v0.1.4 [INFO] [stderr] Downloaded ic-certified-map v0.3.4 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded ic-types v0.5.0 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded ic-kit v0.4.8 [INFO] [stderr] Downloaded cap-sdk-core v0.2.3 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5315499789513717ad28c8aaddfda07fe840575143980a81a86d715cbe7deb2 [INFO] running `Command { std: "docker" "start" "-a" "b5315499789513717ad28c8aaddfda07fe840575143980a81a86d715cbe7deb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5315499789513717ad28c8aaddfda07fe840575143980a81a86d715cbe7deb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5315499789513717ad28c8aaddfda07fe840575143980a81a86d715cbe7deb2", kill_on_drop: false }` [INFO] [stdout] b5315499789513717ad28c8aaddfda07fe840575143980a81a86d715cbe7deb2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3581d89b2fbc40d4b32a340d9ec2752cf1e3c26e895bd4950d63e7cd67aacf4 [INFO] running `Command { std: "docker" "start" "-a" "a3581d89b2fbc40d4b32a340d9ec2752cf1e3c26e895bd4950d63e7cd67aacf4", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling value-bag v1.8.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ic-types v0.5.0 [INFO] [stderr] Checking ic-certified-map v0.3.4 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-kit-macros v0.1.0 [INFO] [stderr] Compiling candid v0.7.18 [INFO] [stderr] Checking ic-cdk v0.5.7 [INFO] [stderr] Checking certified-vars v0.1.4 [INFO] [stderr] Checking ic-kit v0.4.8 [INFO] [stderr] Checking cap-common v0.2.3 [INFO] [stderr] Checking cap-sdk-core v0.2.3 [INFO] [stderr] Checking cap-sdk v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/transactions/stream.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | for page in (start_page..end_page) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - for page in (start_page..end_page) { [INFO] [stdout] 17 + for page in start_page..end_page { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/transactions/stream.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | for page in (start_page..end_page) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - for page in (start_page..end_page) { [INFO] [stdout] 41 + for page in start_page..end_page { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/transactions/stream.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | for page in (start_page..end_page) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - for page in (start_page..end_page) { [INFO] [stdout] 17 + for page in start_page..end_page { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/transactions/stream.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | for page in (start_page..end_page) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - for page in (start_page..end_page) { [INFO] [stdout] 41 + for page in start_page..end_page { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/env.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/env.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | store(self.clone()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(data) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | get_maybe::().expect("No context created.") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/env.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_kit::ic::{get_maybe, store}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | get_maybe::().expect("No context created.").clone() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/env.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | store(self.clone()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(data) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | get_maybe::().expect("No context created.") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/env.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | get_maybe::().expect("No context created.").clone() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_kit::ic::get_maybe; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(config) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(data) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(env) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/archive.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ic::store(HandshakeCreatedCanister { id }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/handshake.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if ic::get_maybe::().is_none() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/handshake.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | ic::store(HandshakeConfigs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use ic_kit::ic::get_maybe; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/handshake.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 64 | let canister_id = if let Some(backup) = ic::get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(config) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/handshake.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | ic::store(HandshakeCreatedCanister { id: canister_id }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(data) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/archive.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(env) = get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/archive.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ic::store(HandshakeCreatedCanister { id }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/handshake.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if ic::get_maybe::().is_none() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/handshake.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | ic::store(HandshakeConfigs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::get_maybe`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::maybe_with method. [INFO] [stdout] --> src/handshake.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 64 | let canister_id = if let Some(backup) = ic::get_maybe::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_kit::ic::store`: Unsafe memory methods are deprecated, use the safer ic_kit::ic::swap method. [INFO] [stdout] --> src/handshake.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | ic::store(HandshakeCreatedCanister { id: canister_id }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.18s [INFO] running `Command { std: "docker" "inspect" "a3581d89b2fbc40d4b32a340d9ec2752cf1e3c26e895bd4950d63e7cd67aacf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3581d89b2fbc40d4b32a340d9ec2752cf1e3c26e895bd4950d63e7cd67aacf4", kill_on_drop: false }` [INFO] [stdout] a3581d89b2fbc40d4b32a340d9ec2752cf1e3c26e895bd4950d63e7cd67aacf4 [INFO] checking cap-sdk-0.2.4 against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] extracting crate cap-sdk 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cap-sdk 0.2.4 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 crates.io crate cap-sdk 0.2.4 [INFO] finished tweaking crates.io crate cap-sdk 0.2.4 [INFO] tweaked toml for crates.io crate cap-sdk 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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] 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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 007a8dfcecdc95022ae37920dcd3f8acd06b2be74fc9c9e0b9afb69fb413558c [INFO] running `Command { std: "docker" "start" "-a" "007a8dfcecdc95022ae37920dcd3f8acd06b2be74fc9c9e0b9afb69fb413558c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "007a8dfcecdc95022ae37920dcd3f8acd06b2be74fc9c9e0b9afb69fb413558c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007a8dfcecdc95022ae37920dcd3f8acd06b2be74fc9c9e0b9afb69fb413558c", kill_on_drop: false }` [INFO] [stdout] 007a8dfcecdc95022ae37920dcd3f8acd06b2be74fc9c9e0b9afb69fb413558c [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" "-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] e5e4cf535bb6a8b52d6d68f8b359d66a3e9938902626563303ea98a61bfe8616 [INFO] running `Command { std: "docker" "start" "-a" "e5e4cf535bb6a8b52d6d68f8b359d66a3e9938902626563303ea98a61bfe8616", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling value-bag v1.8.1 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking async-io v2.3.2 [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" "e5e4cf535bb6a8b52d6d68f8b359d66a3e9938902626563303ea98a61bfe8616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5e4cf535bb6a8b52d6d68f8b359d66a3e9938902626563303ea98a61bfe8616", kill_on_drop: false }` [INFO] [stdout] e5e4cf535bb6a8b52d6d68f8b359d66a3e9938902626563303ea98a61bfe8616