[INFO] cloning repository https://github.com/Leonana69/rust_nn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Leonana69/rust_nn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonana69%2Frust_nn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonana69%2Frust_nn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f407c6820d129f19c1e5494412bb32ed4c1baf5 [INFO] checking Leonana69/rust_nn against try#ec8d137b933d39ddf0a2878617a0335f0f9d7116 for pr-116607 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonana69%2Frust_nn" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Leonana69/rust_nn on toolchain ec8d137b933d39ddf0a2878617a0335f0f9d7116 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Leonana69/rust_nn [INFO] finished tweaking git repo https://github.com/Leonana69/rust_nn [INFO] tweaked toml for git repo https://github.com/Leonana69/rust_nn written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Leonana69/rust_nn 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" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28cde21bd1ac2b1618a2448d6354dbfa161dd02482f9968ba1fb0ba0980a62c2 [INFO] running `Command { std: "docker" "start" "-a" "28cde21bd1ac2b1618a2448d6354dbfa161dd02482f9968ba1fb0ba0980a62c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28cde21bd1ac2b1618a2448d6354dbfa161dd02482f9968ba1fb0ba0980a62c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28cde21bd1ac2b1618a2448d6354dbfa161dd02482f9968ba1fb0ba0980a62c2", kill_on_drop: false }` [INFO] [stdout] 28cde21bd1ac2b1618a2448d6354dbfa161dd02482f9968ba1fb0ba0980a62c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d24957303de71baecd300f459255a9fcf9684e6bf6aaf80a1b99abd45d010e6c [INFO] running `Command { std: "docker" "start" "-a" "d24957303de71baecd300f459255a9fcf9684e6bf6aaf80a1b99abd45d010e6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust_nn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0507]: cannot move out of `predict.data` which is behind a shared reference [INFO] [stdout] --> src/utils/loss.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | for (yt, yh) in truth.into_iter().zip(predict.data.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- `predict.data` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `predict.data` has type `Box<[f64]>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `predict.data` [INFO] [stdout] --> /rustc/ec8d137b933d39ddf0a2878617a0335f0f9d7116/library/core/src/iter/traits/collect.rs:268:18 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 14 | for (yt, yh) in truth.into_iter().zip(predict.data.clone().into_iter()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `predict.data` which is behind a shared reference [INFO] [stdout] --> src/utils/loss.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | for (yt, yh) in truth.into_iter().zip(predict.data.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- `predict.data` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `predict.data` has type `Box<[f64]>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `predict.data` [INFO] [stdout] --> /rustc/ec8d137b933d39ddf0a2878617a0335f0f9d7116/library/core/src/iter/traits/collect.rs:268:18 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 14 | for (yt, yh) in truth.into_iter().zip(predict.data.clone().into_iter()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_nn` (bin "rust_nn") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_nn` (bin "rust_nn" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d24957303de71baecd300f459255a9fcf9684e6bf6aaf80a1b99abd45d010e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24957303de71baecd300f459255a9fcf9684e6bf6aaf80a1b99abd45d010e6c", kill_on_drop: false }` [INFO] [stdout] d24957303de71baecd300f459255a9fcf9684e6bf6aaf80a1b99abd45d010e6c