[INFO] cloning repository https://github.com/xayon40-12/neural_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xayon40-12/neural_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29943b08d4841c2ac72b10a0e59f3805f72d9e0e [INFO] checking xayon40-12/neural_network against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xayon40-12/neural_network on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xayon40-12/neural_network [INFO] finished tweaking git repo https://github.com/xayon40-12/neural_network [INFO] tweaked toml for git repo https://github.com/xayon40-12/neural_network written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/xayon40-12/neural_network already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 792e2577c1479d767e59852a7b7ec1bb4780964ba2bf2a13bb78975a680d739b [INFO] running `Command { std: "docker" "start" "-a" "792e2577c1479d767e59852a7b7ec1bb4780964ba2bf2a13bb78975a680d739b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "792e2577c1479d767e59852a7b7ec1bb4780964ba2bf2a13bb78975a680d739b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792e2577c1479d767e59852a7b7ec1bb4780964ba2bf2a13bb78975a680d739b", kill_on_drop: false }` [INFO] [stdout] 792e2577c1479d767e59852a7b7ec1bb4780964ba2bf2a13bb78975a680d739b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f931d03e5d8c1967e386fe699c4973fcbb61bdf39800a82961bccd724540c9e [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" "1f931d03e5d8c1967e386fe699c4973fcbb61bdf39800a82961bccd724540c9e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking neural_network v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stderr] Fixed src/neuron.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NeuronType` [INFO] [stdout] --> src/lib.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | let mut n1 = Neuron::new(Box::new(threshold), NeuronType::Output); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `NeuronType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NeuronType` [INFO] [stdout] --> src/lib.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let n2 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `NeuronType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NeuronType` [INFO] [stdout] --> src/lib.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | let n3 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `NeuronType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NeuronType` [INFO] [stdout] --> src/lib.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | let n4 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `NeuronType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Neuron` [INFO] [stdout] --> src/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut n1 = Neuron::new(Box::new(threshold), NeuronType::Output); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::neuron::Neuron; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Neuron` [INFO] [stdout] --> src/lib.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let n2 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::neuron::Neuron; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Neuron` [INFO] [stdout] --> src/lib.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let n3 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::neuron::Neuron; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Neuron` [INFO] [stdout] --> src/lib.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let n4 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::neuron::Neuron; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] error: could not compile `neural_network` due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct is never constructed: `NeuralNet` [INFO] [stdout] --> src/neural_net.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct NeuralNet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/neuron.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | n: &'a Neuron<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/neuron.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | n: &'a Neuron<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/neuron.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | w: &'a f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `linked_by` [INFO] [stdout] --> src/neuron.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | linked_by: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dist` [INFO] [stdout] --> src/neuron.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | dist: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `old_value` [INFO] [stdout] --> src/neuron.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | old_value: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ntype` [INFO] [stdout] --> src/neuron.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ntype: NeuronType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `computed` [INFO] [stdout] --> src/neuron.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | computed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transfer` [INFO] [stdout] --> src/neuron.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | transfer: Box f32> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1f931d03e5d8c1967e386fe699c4973fcbb61bdf39800a82961bccd724540c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f931d03e5d8c1967e386fe699c4973fcbb61bdf39800a82961bccd724540c9e", kill_on_drop: false }` [INFO] [stdout] 1f931d03e5d8c1967e386fe699c4973fcbb61bdf39800a82961bccd724540c9e