[INFO] updating cached repository ThueCoders/rthue [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ThueCoders/rthue [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ThueCoders/rthue" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/ThueCoders/rthue"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/ThueCoders/rthue'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ThueCoders/rthue" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/ThueCoders/rthue"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/ThueCoders/rthue'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 920a14f1c04fd0392f50cf2fe1d9b9a875d5640c [INFO] sha for GitHub repo ThueCoders/rthue: 920a14f1c04fd0392f50cf2fe1d9b9a875d5640c [INFO] validating manifest of ThueCoders/rthue on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ThueCoders/rthue on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ThueCoders/rthue [INFO] finished frobbing ThueCoders/rthue [INFO] frobbed toml for ThueCoders/rthue written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/ThueCoders/rthue/Cargo.toml [INFO] started frobbing ThueCoders/rthue [INFO] finished frobbing ThueCoders/rthue [INFO] frobbed toml for ThueCoders/rthue written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/ThueCoders/rthue/Cargo.toml [INFO] crate ThueCoders/rthue already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking ThueCoders/rthue against try#99a7498759a22b5684caf798a98b7e90ad9d2443 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-3/try#99a7498759a22b5684caf798a98b7e90ad9d2443:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/ThueCoders/rthue:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6b783f1832d3730e597239ad9f11fdc506600275fc4e13159cdbf6dd70b936b1 [INFO] running `"docker" "start" "-a" "6b783f1832d3730e597239ad9f11fdc506600275fc4e13159cdbf6dd70b936b1"` [INFO] [stderr] Checking rthue v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `thue` [INFO] [stderr] --> src/lib.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | fn run_thue(thue: Thue) {} [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_thue` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/lib.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | fn build_binary(file_path: &str) {} [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_file_path` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut split = vec[0].split("\n"); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | if let Some(mut item) = rules.get(rulevec[0]) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] error[E0716]: temporary value dropped while borrowed [INFO] [stderr] --> src/lib.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | let rulevec: Vec<&str> = rule.to_string().split("::=").collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stderr] | | [INFO] [stderr] | creates a temporary which is freed while still in use [INFO] [stderr] 18 | if rules.contains_key(rulevec[0]) { [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: consider using a `let` binding to create a longer lived value [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*item` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/lib.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 19 | if let Some(mut item) = rules.get(rulevec[0]) { [INFO] [stderr] | -------- help: consider changing this to be a mutable reference: `&mut std::vec::Vec` [INFO] [stderr] 20 | item.push(rulevec[1].to_string()); [INFO] [stderr] | ^^^^ `item` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0596, E0716. [INFO] [stderr] For more information about an error, try `rustc --explain E0596`. [INFO] [stderr] error: Could not compile `rthue`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused variable: `thue` [INFO] [stderr] --> src/lib.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | fn run_thue(thue: Thue) {} [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_thue` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/lib.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | fn build_binary(file_path: &str) {} [INFO] [stderr] | ^^^^^^^^^ help: consider prefixing with an underscore: `_file_path` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut split = vec[0].split("\n"); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | if let Some(mut item) = rules.get(rulevec[0]) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] error[E0716]: temporary value dropped while borrowed [INFO] [stderr] --> src/lib.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | let rulevec: Vec<&str> = rule.to_string().split("::=").collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stderr] | | [INFO] [stderr] | creates a temporary which is freed while still in use [INFO] [stderr] 18 | if rules.contains_key(rulevec[0]) { [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: consider using a `let` binding to create a longer lived value [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*item` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/lib.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 19 | if let Some(mut item) = rules.get(rulevec[0]) { [INFO] [stderr] | -------- help: consider changing this to be a mutable reference: `&mut std::vec::Vec` [INFO] [stderr] 20 | item.push(rulevec[1].to_string()); [INFO] [stderr] | ^^^^ `item` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0596, E0716. [INFO] [stderr] For more information about an error, try `rustc --explain E0596`. [INFO] [stderr] error: Could not compile `rthue`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6b783f1832d3730e597239ad9f11fdc506600275fc4e13159cdbf6dd70b936b1"` [INFO] running `"docker" "rm" "-f" "6b783f1832d3730e597239ad9f11fdc506600275fc4e13159cdbf6dd70b936b1"` [INFO] [stdout] 6b783f1832d3730e597239ad9f11fdc506600275fc4e13159cdbf6dd70b936b1