[INFO] cloning repository https://github.com/BisonniStefano/GameOfLife
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BisonniStefano/GameOfLife" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBisonniStefano%2FGameOfLife", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBisonniStefano%2FGameOfLife'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e173e5fb22975d1ea7f010e3897bcf4232769e3f
[INFO] checking BisonniStefano/GameOfLife against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBisonniStefano%2FGameOfLife" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BisonniStefano/GameOfLife
[INFO] finished tweaking git repo https://github.com/BisonniStefano/GameOfLife
[INFO] tweaked toml for git repo https://github.com/BisonniStefano/GameOfLife written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BisonniStefano/GameOfLife on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BisonniStefano/GameOfLife 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rocket_cors v0.6.0
[INFO] [stderr]   Downloaded devise v0.4.1
[INFO] [stderr]   Downloaded devise_codegen v0.4.1
[INFO] [stderr]   Downloaded devise_core v0.4.1
[INFO] [stderr]   Downloaded unicase_serde v0.1.0
[INFO] [stderr]   Downloaded cc v1.0.100
[INFO] [stderr]   Downloaded hyper v0.14.29
[INFO] [stderr]   Downloaded object v0.36.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86e2a2b92070e6e3820c1c81840d23588d0dd994e55a113f9c771586f7bc0bb7
[INFO] running `Command { std: "docker" "start" "-a" "86e2a2b92070e6e3820c1c81840d23588d0dd994e55a113f9c771586f7bc0bb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86e2a2b92070e6e3820c1c81840d23588d0dd994e55a113f9c771586f7bc0bb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86e2a2b92070e6e3820c1c81840d23588d0dd994e55a113f9c771586f7bc0bb7", kill_on_drop: false }`
[INFO] [stdout] 86e2a2b92070e6e3820c1c81840d23588d0dd994e55a113f9c771586f7bc0bb7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1606caddd415ca8f01918996f8b7c5d3d70d79b6f4090659c84e6f8324907e66
[INFO] running `Command { std: "docker" "start" "-a" "1606caddd415ca8f01918996f8b7c5d3d70d79b6f4090659c84e6f8324907e66", kill_on_drop: false }`
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]     Checking winnow v0.6.13
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]     Checking rustix v0.38.34
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking atomic v0.5.3
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]    Compiling hyper v0.14.29
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]    Compiling devise_core v0.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling devise_codegen v0.4.1
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise v0.4.1
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]     Checking serde v1.0.203
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking toml_datetime v0.6.6
[INFO] [stderr]     Checking serde_spanned v0.6.6
[INFO] [stderr]     Checking serde_json v1.0.117
[INFO] [stderr]     Checking ubyte v0.10.4
[INFO] [stderr]     Checking unicase_serde v0.1.0
[INFO] [stderr]     Checking toml_edit v0.22.14
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking toml v0.8.14
[INFO] [stderr]     Checking rocket_cors v0.6.0
[INFO] [stderr]     Checking backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `data` used with non-payload-supporting method
[INFO] [stdout]   --> src/main.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[get("/classic/<n_generations>", data = "<data>")]
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: 'GET' does not typically support payloads
[INFO] [stdout]   --> src/main.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[get("/classic/<n_generations>", data = "<data>")]
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/main.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rocket::serde::{Deserialize, Serialize};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_state`
[INFO] [stdout]   --> src/tables.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let next_state = rule.apply(current_state, near_states);
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `backend` (bin "backend" test) due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] error[E0502]: cannot borrow `result` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let last_table = result.last().unwrap().clone();
[INFO] [stdout]    |                          ------ immutable borrow occurs here
[INFO] [stdout] 81 |         let next_table = last_table.tick(&rule);
[INFO] [stdout] 82 |         result.push(next_table);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 83 |     }
[INFO] [stdout] 84 |     result
[INFO] [stdout]    |     ------ returning this value requires that `result` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0505]: cannot move out of `result` because it is borrowed
[INFO] [stdout]   --> src/main.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut result = vec![table];
[INFO] [stdout]    |         ---------- binding `result` declared here
[INFO] [stdout] 79 |     for _ in 0..n_generations {
[INFO] [stdout] 80 |         let last_table = result.last().unwrap().clone();
[INFO] [stdout]    |                          ------ borrow of `result` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 84 |     result
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     move out of `result` occurs here
[INFO] [stdout]    |     returning this value requires that `result` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `result`
[INFO] [stdout]   --> src/main.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let last_table = result.last().unwrap().clone();
[INFO] [stdout]    |                          ------ `result` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 84 |     result
[INFO] [stdout]    |     ^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stdout] warning: `data` used with non-payload-supporting method
[INFO] [stdout]   --> src/main.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[get("/classic/<n_generations>", data = "<data>")]
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: 'GET' does not typically support payloads
[INFO] [stdout]   --> src/main.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[get("/classic/<n_generations>", data = "<data>")]
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/main.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rocket::serde::{Deserialize, Serialize};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_state`
[INFO] [stdout]   --> src/tables.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let next_state = rule.apply(current_state, near_states);
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `result` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let last_table = result.last().unwrap().clone();
[INFO] [stdout]    |                          ------ immutable borrow occurs here
[INFO] [stdout] 81 |         let next_table = last_table.tick(&rule);
[INFO] [stdout] 82 |         result.push(next_table);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 83 |     }
[INFO] [stdout] 84 |     result
[INFO] [stdout]    |     ------ returning this value requires that `result` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `result` because it is borrowed
[INFO] [stdout]   --> src/main.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut result = vec![table];
[INFO] [stdout]    |         ---------- binding `result` declared here
[INFO] [stdout] 79 |     for _ in 0..n_generations {
[INFO] [stdout] 80 |         let last_table = result.last().unwrap().clone();
[INFO] [stdout]    |                          ------ borrow of `result` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 84 |     result
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     move out of `result` occurs here
[INFO] [stdout]    |     returning this value requires that `result` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `result`
[INFO] [stdout]   --> src/main.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let last_table = result.last().unwrap().clone();
[INFO] [stdout]    |                          ------ `result` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 84 |     result
[INFO] [stdout]    |     ^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `backend` (bin "backend") due to 3 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1606caddd415ca8f01918996f8b7c5d3d70d79b6f4090659c84e6f8324907e66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1606caddd415ca8f01918996f8b7c5d3d70d79b6f4090659c84e6f8324907e66", kill_on_drop: false }`
[INFO] [stdout] 1606caddd415ca8f01918996f8b7c5d3d70d79b6f4090659c84e6f8324907e66
