[INFO] updating cached repository https://github.com/RaspPiTor/predictive
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 1f775bbdb2cb2a6b5069eb59211e72b4d08e77c7
[INFO] checking RaspPiTor/predictive against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaspPiTor%2Fpredictive" "/workspace/builds/worker-13/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/RaspPiTor/predictive on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/RaspPiTor/predictive
[INFO] finished tweaking git repo https://github.com/RaspPiTor/predictive
[INFO] tweaked toml for git repo https://github.com/RaspPiTor/predictive written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/RaspPiTor/predictive already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 282c4e35b89980d8ba910c9dfbee0d1059dbbeabebbee46bb7d820d19b0c9f86
[INFO] running `"docker" "start" "-a" "282c4e35b89980d8ba910c9dfbee0d1059dbbeabebbee46bb7d820d19b0c9f86"`
[INFO] [stderr]     Checking predictive v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]   --> src/lib.rs:68:48
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let largest_layer_capacity: usize = if { nodes_in_layer + 1 > output_size } {
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:245:28
[INFO] [stderr]     |
[INFO] [stderr] 245 |                         if { current_score < last_current_score } {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:247:32
[INFO] [stderr]     |
[INFO] [stderr] 247 | ...                   if { current_score < new_score } {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:258:16
[INFO] [stderr]     |
[INFO] [stderr] 258 |             if { new_score < previous_score } {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:277:16
[INFO] [stderr]     |
[INFO] [stderr] 277 |             if { score < best_score } {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]   --> src/lib.rs:68:48
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let largest_layer_capacity: usize = if { nodes_in_layer + 1 > output_size } {
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:245:28
[INFO] [stderr]     |
[INFO] [stderr] 245 |                         if { current_score < last_current_score } {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:247:32
[INFO] [stderr]     |
[INFO] [stderr] 247 | ...                   if { current_score < new_score } {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:258:16
[INFO] [stderr]     |
[INFO] [stderr] 258 |             if { new_score < previous_score } {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]    --> src/lib.rs:277:16
[INFO] [stderr]     |
[INFO] [stderr] 277 |             if { score < best_score } {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ML`
[INFO] [stderr]  --> src/main.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let mut the_machine: ML = ML::new(4, 5, 5, 5);
[INFO] [stderr]   |                               ^^ use of undeclared type or module `ML`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ML` in this scope
[INFO] [stderr]  --> src/main.rs:3:26
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let mut the_machine: ML = ML::new(4, 5, 5, 5);
[INFO] [stderr]   |                          ^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 1 | use predictive::ML;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `predictive`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use predictive;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ML`
[INFO] [stderr]  --> src/main.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let mut the_machine: ML = ML::new(4, 5, 5, 5);
[INFO] [stderr]   |                               ^^ use of undeclared type or module `ML`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ML` in this scope
[INFO] [stderr]  --> src/main.rs:3:26
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let mut the_machine: ML = ML::new(4, 5, 5, 5);
[INFO] [stderr]   |                          ^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 1 | use predictive::ML;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `predictive`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use predictive;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `predictive`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `predictive`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "282c4e35b89980d8ba910c9dfbee0d1059dbbeabebbee46bb7d820d19b0c9f86"`
[INFO] running `"docker" "rm" "-f" "282c4e35b89980d8ba910c9dfbee0d1059dbbeabebbee46bb7d820d19b0c9f86"`
[INFO] [stdout] 282c4e35b89980d8ba910c9dfbee0d1059dbbeabebbee46bb7d820d19b0c9f86
