[INFO] cloning repository https://github.com/hacknus/acs37800-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hacknus/acs37800-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacknus%2Facs37800-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacknus%2Facs37800-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2e5056fae56102c56d3561765d6334f7b228eea [INFO] testing hacknus/acs37800-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacknus%2Facs37800-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hacknus/acs37800-rs [INFO] finished tweaking git repo https://github.com/hacknus/acs37800-rs [INFO] tweaked toml for git repo https://github.com/hacknus/acs37800-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hacknus/acs37800-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hacknus/acs37800-rs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/hacknus/modular-bitfield-to-value` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded modular-bitfield-impl v0.11.2 [INFO] [stderr] Downloaded modular-bitfield v0.11.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [INFO] [stderr] Downloaded syn v2.0.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 694a3f4a842fdc661180b3a96b31186518f0e3a733725b6e61046530b6589e7c [INFO] running `Command { std: "docker" "start" "-a" "694a3f4a842fdc661180b3a96b31186518f0e3a733725b6e61046530b6589e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "694a3f4a842fdc661180b3a96b31186518f0e3a733725b6e61046530b6589e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "694a3f4a842fdc661180b3a96b31186518f0e3a733725b6e61046530b6589e7c", kill_on_drop: false }` [INFO] [stdout] 694a3f4a842fdc661180b3a96b31186518f0e3a733725b6e61046530b6589e7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 728d5f49c35aff0631cfe2299a96f9d1cea6664105ae17bb34d7cf08adb1c752 [INFO] running `Command { std: "docker" "start" "-a" "728d5f49c35aff0631cfe2299a96f9d1cea6664105ae17bb34d7cf08adb1c752", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling modular-bitfield-to-value-impl v0.1.0 (https://github.com/hacknus/modular-bitfield-to-value#09efa39b) [INFO] [stderr] Compiling modular-bitfield-to-value v0.1.0 (https://github.com/hacknus/modular-bitfield-to-value#09efa39b) [INFO] [stderr] Compiling acs37800 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:339:85 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn read_register<'a>(&'a mut self, reg: u8, buffer: &'a mut [u8]) -> Result<&mut [u8], E> { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 339 | pub fn read_register<'a>(&'a mut self, reg: u8, buffer: &'a mut [u8]) -> Result<&'a mut [u8], E> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:345:63 [INFO] [stdout] | [INFO] [stdout] 345 | fn read<'a>(&'a mut self, buffer: &'a mut [u8]) -> Result<&mut [u8], E> { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 345 | fn read<'a>(&'a mut self, buffer: &'a mut [u8]) -> Result<&'a mut [u8], E> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `acs37800` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "728d5f49c35aff0631cfe2299a96f9d1cea6664105ae17bb34d7cf08adb1c752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "728d5f49c35aff0631cfe2299a96f9d1cea6664105ae17bb34d7cf08adb1c752", kill_on_drop: false }` [INFO] [stdout] 728d5f49c35aff0631cfe2299a96f9d1cea6664105ae17bb34d7cf08adb1c752