[INFO] fetching crate node_editor 0.0.3... [INFO] checking node_editor-0.0.3 against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] extracting crate node_editor 0.0.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate node_editor 0.0.3 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 node_editor 0.0.3 [INFO] finished tweaking crates.io crate node_editor 0.0.3 [INFO] tweaked toml for crates.io crate node_editor 0.0.3 written to /workspace/builds/worker-3-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] Downloading crates ... [INFO] [stderr] Downloaded boow v0.1.3 [INFO] [stderr] Downloaded variant_name v0.0.1 [INFO] [stderr] Downloaded imgui v0.0.21 [INFO] [stderr] Downloaded aflak_cake v0.0.3 [INFO] [stderr] Downloaded ron v0.2.2 [INFO] [stderr] Downloaded imgui-sys v0.0.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7b18442bc10291c837a521661fdd70c331ce1f9ea10c7f2226a273eecc30242a [INFO] running `Command { std: "docker" "start" "-a" "7b18442bc10291c837a521661fdd70c331ce1f9ea10c7f2226a273eecc30242a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b18442bc10291c837a521661fdd70c331ce1f9ea10c7f2226a273eecc30242a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b18442bc10291c837a521661fdd70c331ce1f9ea10c7f2226a273eecc30242a", kill_on_drop: false }` [INFO] [stdout] 7b18442bc10291c837a521661fdd70c331ce1f9ea10c7f2226a273eecc30242a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a897b871093f2ceb9c97cdb3fbe3aced7302375d012a4a6affdbf7a979e14e64 [INFO] running `Command { std: "docker" "start" "-a" "a897b871093f2ceb9c97cdb3fbe3aced7302375d012a4a6affdbf7a979e14e64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling imgui-sys v0.0.21 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking boow v0.1.3 [INFO] [stderr] Checking variant_name v0.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking imgui v0.0.21 [INFO] [stderr] Checking ron v0.2.2 [INFO] [stderr] Checking aflak_cake v0.0.3 [INFO] [stderr] Checking node_editor v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/compute.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cake::{self, DST}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rayon` is imported redundantly [INFO] [stdout] --> src/compute.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rayon; [INFO] [stdout] | ------------------- the item `rayon` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/editor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use cake::{self, Transformation, DST}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/export.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use cake::{self, DeserDST, NamedAlgorithms, NodeId, SerialDST, Transformation, VariantName}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/compute.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cake::{self, DST}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/node_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cake; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rayon` is imported redundantly [INFO] [stdout] --> src/compute.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rayon; [INFO] [stdout] | ------------------- the item `rayon` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/editor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use cake::{self, Transformation, DST}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/export.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use cake::{self, DeserDST, NamedAlgorithms, NodeId, SerialDST, Transformation, VariantName}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cake` is imported redundantly [INFO] [stdout] --> src/node_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cake; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate aflak_cake as cake; [INFO] [stdout] | -------------------------------- the item `cake` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compute.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | mem::replace(self, next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = mem::replace(self, next); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compute.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | mem::replace(self, next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = mem::replace(self, next); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "a897b871093f2ceb9c97cdb3fbe3aced7302375d012a4a6affdbf7a979e14e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a897b871093f2ceb9c97cdb3fbe3aced7302375d012a4a6affdbf7a979e14e64", kill_on_drop: false }` [INFO] [stdout] a897b871093f2ceb9c97cdb3fbe3aced7302375d012a4a6affdbf7a979e14e64 [INFO] checking node_editor-0.0.3 against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] extracting crate node_editor 0.0.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate node_editor 0.0.3 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 node_editor 0.0.3 [INFO] finished tweaking crates.io crate node_editor 0.0.3 [INFO] tweaked toml for crates.io crate node_editor 0.0.3 written to /workspace/builds/worker-3-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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6bcc06746fc982458cbda4e2cc089289ca8dbdbc38ced7fe65c4fcf964973759 [INFO] running `Command { std: "docker" "start" "-a" "6bcc06746fc982458cbda4e2cc089289ca8dbdbc38ced7fe65c4fcf964973759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bcc06746fc982458cbda4e2cc089289ca8dbdbc38ced7fe65c4fcf964973759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bcc06746fc982458cbda4e2cc089289ca8dbdbc38ced7fe65c4fcf964973759", kill_on_drop: false }` [INFO] [stdout] 6bcc06746fc982458cbda4e2cc089289ca8dbdbc38ced7fe65c4fcf964973759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3b75a5b033a5347f542b5c7808f1001f7daf74ce643a8859deec40a28a5e1549 [INFO] running `Command { std: "docker" "start" "-a" "3b75a5b033a5347f542b5c7808f1001f7daf74ce643a8859deec40a28a5e1549", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling imgui-sys v0.0.21 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking boow v0.1.3 [INFO] [stderr] Checking variant_name v0.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking imgui v0.0.21 [INFO] [stderr] Checking ron v0.2.2 [INFO] [stderr] Checking aflak_cake v0.0.3 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aflak_cake-0.0.3/src/dst/node.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / match self { [INFO] [stdout] 47 | | &Node::Transform(t) => t.input.as_slice(), [INFO] [stdout] 48 | | &Node::Output(_) => &[(OUTPUT_NODE_SLOT, None)], [INFO] [stdout] | | -------------------------- temporary value created here [INFO] [stdout] 49 | | }.iter() [INFO] [stdout] 50 | | .map(|(id, _)| id) [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [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/aflak_cake-0.0.3/src/dst/node.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / match self { [INFO] [stdout] 56 | | &Node::Transform(t) => t.input.as_slice(), [INFO] [stdout] 57 | | &Node::Output(_) => &[(OUTPUT_NODE_SLOT, None)], [INFO] [stdout] | | -------------------------- temporary value created here [INFO] [stdout] 58 | | }.iter() [INFO] [stdout] 59 | | .map(|(_, default)| default.as_ref()) [INFO] [stdout] | |_____________________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `aflak_cake` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3b75a5b033a5347f542b5c7808f1001f7daf74ce643a8859deec40a28a5e1549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b75a5b033a5347f542b5c7808f1001f7daf74ce643a8859deec40a28a5e1549", kill_on_drop: false }` [INFO] [stdout] 3b75a5b033a5347f542b5c7808f1001f7daf74ce643a8859deec40a28a5e1549