[INFO] cloning repository https://github.com/abryrath/iri-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abryrath/iri-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabryrath%2Firi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabryrath%2Firi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30a962f4427de2a169d2d3a12430294d283a5fa3 [INFO] checking abryrath/iri-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabryrath%2Firi-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abryrath/iri-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abryrath/iri-rs [INFO] finished tweaking git repo https://github.com/abryrath/iri-rs [INFO] tweaked toml for git repo https://github.com/abryrath/iri-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/abryrath/iri-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gpio-cdev v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36e3a92b35df8353e609c832f67df404dac27db4cac8d4f077f4db7a884c3cf2 [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" "36e3a92b35df8353e609c832f67df404dac27db4cac8d4f077f4db7a884c3cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36e3a92b35df8353e609c832f67df404dac27db4cac8d4f077f4db7a884c3cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e3a92b35df8353e609c832f67df404dac27db4cac8d4f077f4db7a884c3cf2", kill_on_drop: false }` [INFO] [stdout] 36e3a92b35df8353e609c832f67df404dac27db4cac8d4f077f4db7a884c3cf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d746571f852468bceaf81fb88df3b25efe21c3b790b7d33393e372d428329554 [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" "d746571f852468bceaf81fb88df3b25efe21c3b790b7d33393e372d428329554", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking nix v0.11.1 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking gpio-cdev v0.2.0 [INFO] [stderr] Checking iri-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `chip` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 12 | let chip = Chip::new("/dev/gpiochip0").unwrap(); [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut chip` [INFO] [stdout] 13 | let input_line = chip.get_line(input).unwrap(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `chip` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 12 | let chip = Chip::new("/dev/gpiochip0").unwrap(); [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut chip` [INFO] [stdout] 13 | let input_line = chip.get_line(input).unwrap(); [INFO] [stdout] 14 | let output_line = chip.get_line(output).unwrap(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iri-rs` [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] [stdout] error[E0596]: cannot borrow `chip` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 12 | let chip = Chip::new("/dev/gpiochip0").unwrap(); [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut chip` [INFO] [stdout] 13 | let input_line = chip.get_line(input).unwrap(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `chip` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 12 | let chip = Chip::new("/dev/gpiochip0").unwrap(); [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut chip` [INFO] [stdout] 13 | let input_line = chip.get_line(input).unwrap(); [INFO] [stdout] 14 | let output_line = chip.get_line(output).unwrap(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d746571f852468bceaf81fb88df3b25efe21c3b790b7d33393e372d428329554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d746571f852468bceaf81fb88df3b25efe21c3b790b7d33393e372d428329554", kill_on_drop: false }` [INFO] [stdout] d746571f852468bceaf81fb88df3b25efe21c3b790b7d33393e372d428329554