[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-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/ThueCoders/rthue"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/ThueCoders/rthue'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ThueCoders/rthue" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/ThueCoders/rthue"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/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#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ThueCoders/rthue on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-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-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/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-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/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" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking ThueCoders/rthue against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-1/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/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" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ea49f744a312a00bc03e99cf13c6bc19356f2ba5ccc60a5a76ee4ed82a3cf81f [INFO] running `"docker" "start" "-a" "ea49f744a312a00bc03e99cf13c6bc19356f2ba5ccc60a5a76ee4ed82a3cf81f"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [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" "ea49f744a312a00bc03e99cf13c6bc19356f2ba5ccc60a5a76ee4ed82a3cf81f"` [INFO] running `"docker" "rm" "-f" "ea49f744a312a00bc03e99cf13c6bc19356f2ba5ccc60a5a76ee4ed82a3cf81f"` [INFO] [stdout] ea49f744a312a00bc03e99cf13c6bc19356f2ba5ccc60a5a76ee4ed82a3cf81f