[INFO] cloning repository https://github.com/sdunifon/rusty-neural-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sdunifon/rusty-neural-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdunifon%2Frusty-neural-net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdunifon%2Frusty-neural-net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5c536d27461bf8d2c819591d3661f70e4b1ff9d [INFO] checking sdunifon/rusty-neural-net against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdunifon%2Frusty-neural-net" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 45% (9/20) Updating files: 50% (10/20) Updating files: 55% (11/20) Updating files: 60% (12/20) Updating files: 65% (13/20) Updating files: 70% (14/20) Updating files: 75% (15/20) Updating files: 80% (16/20) Updating files: 85% (17/20) Updating files: 90% (18/20) Updating files: 95% (19/20) Updating files: 100% (20/20) Updating files: 100% (20/20), done. [INFO] validating manifest of git repo https://github.com/sdunifon/rusty-neural-net on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sdunifon/rusty-neural-net [INFO] finished tweaking git repo https://github.com/sdunifon/rusty-neural-net [INFO] tweaked toml for git repo https://github.com/sdunifon/rusty-neural-net written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/sdunifon/rusty-neural-net already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a8576c9c25a9fc9b96c32de31345c924b889ae1c943cc7dfe01127f15c4ef53 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a8576c9c25a9fc9b96c32de31345c924b889ae1c943cc7dfe01127f15c4ef53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a8576c9c25a9fc9b96c32de31345c924b889ae1c943cc7dfe01127f15c4ef53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a8576c9c25a9fc9b96c32de31345c924b889ae1c943cc7dfe01127f15c4ef53", kill_on_drop: false }` [INFO] [stdout] 4a8576c9c25a9fc9b96c32de31345c924b889ae1c943cc7dfe01127f15c4ef53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fa2eacd847a734e96d142ea52a9dd42278c03741d4d7534d43ea6d64f52c8ce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4fa2eacd847a734e96d142ea52a9dd42278c03741d4d7534d43ea6d64f52c8ce", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rusty-neural-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Graph` [INFO] [stdout] --> src/graph/training.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::Graph; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/graph.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/network.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::pending` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use std::future::pending; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/graph.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let layer = self.input_layer(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime defined here... [INFO] [stdout] --> src/graph.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | fn train(&mut self, training_input: &dyn WithTrainingData) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/graph.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let layer = self.input_layer(); [INFO] [stdout] | ^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined here... [INFO] [stdout] --> src/graph.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, const LAYER_COUNT: usize, const LAYER_SIZE: usize> Graph<'a, LAYER_COUNT, LAYER_SIZE> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/graph.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let layer = self.input_layer(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected `&mut graph::Graph<'_, LAYER_COUNT, LAYER_SIZE>` [INFO] [stdout] found `&mut graph::Graph<'a, LAYER_COUNT, LAYER_SIZE>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Graph` [INFO] [stdout] --> src/graph/training.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::Graph; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/input/input_image.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ops::Index, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::InputFile` [INFO] [stdout] --> src/input/input_image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::InputFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/input/input_image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, ImageBuffer, Luma}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-neural-net` due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/graph.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let layer = self.input_layer(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime defined here... [INFO] [stdout] --> src/graph.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | fn train(&mut self, training_input: &dyn WithTrainingData) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/graph.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let layer = self.input_layer(); [INFO] [stdout] | ^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined here... [INFO] [stdout] --> src/graph.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, const LAYER_COUNT: usize, const LAYER_SIZE: usize> Graph<'a, LAYER_COUNT, LAYER_SIZE> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/graph.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let layer = self.input_layer(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected `&mut graph::Graph<'_, LAYER_COUNT, LAYER_SIZE>` [INFO] [stdout] found `&mut graph::Graph<'a, LAYER_COUNT, LAYER_SIZE>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/input/input_image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, ImageBuffer, Luma}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4fa2eacd847a734e96d142ea52a9dd42278c03741d4d7534d43ea6d64f52c8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa2eacd847a734e96d142ea52a9dd42278c03741d4d7534d43ea6d64f52c8ce", kill_on_drop: false }` [INFO] [stdout] 4fa2eacd847a734e96d142ea52a9dd42278c03741d4d7534d43ea6d64f52c8ce