[INFO] cloning repository https://github.com/zidoshare/simple-log-viewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zidoshare/simple-log-viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzidoshare%2Fsimple-log-viewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzidoshare%2Fsimple-log-viewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 531577bb61d747c27edd7ed83199d4b785b15c90 [INFO] checking zidoshare/simple-log-viewer against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzidoshare%2Fsimple-log-viewer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zidoshare/simple-log-viewer on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zidoshare/simple-log-viewer [INFO] finished tweaking git repo https://github.com/zidoshare/simple-log-viewer [INFO] tweaked toml for git repo https://github.com/zidoshare/simple-log-viewer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/zidoshare/simple-log-viewer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cde1b035f29a31327018e39d1e85819b7de109517bb01e644e26f54a5ac103b [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" "3cde1b035f29a31327018e39d1e85819b7de109517bb01e644e26f54a5ac103b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cde1b035f29a31327018e39d1e85819b7de109517bb01e644e26f54a5ac103b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cde1b035f29a31327018e39d1e85819b7de109517bb01e644e26f54a5ac103b", kill_on_drop: false }` [INFO] [stdout] 3cde1b035f29a31327018e39d1e85819b7de109517bb01e644e26f54a5ac103b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b9557fcb29ff7c0de92064353d8b10a5e711f958b2aa84861b4415d073819c8 [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" "4b9557fcb29ff7c0de92064353d8b10a5e711f958b2aa84861b4415d073819c8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking simple-log-viewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fr.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | str::from_utf8(self.lines[line_start..line_end]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `&usize`, found struct `std::ops::Range` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&usize` [INFO] [stdout] found struct `std::ops::Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fr.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | str::from_utf8(self.lines[line_start..line_end]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `&usize`, found struct `std::ops::Range` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&usize` [INFO] [stdout] found struct `std::ops::Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fr.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | str::from_utf8(self.lines[line_start..line_end]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fr.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | str::from_utf8(self.lines[line_start..line_end]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fr.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_line(self: &Self, line_start: usize, line_end: usize) -> &'static str { [INFO] [stdout] | ------------ expected `&'static str` because of return type [INFO] [stdout] 32 | str::from_utf8(self.lines[line_start..line_end]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static str` [INFO] [stdout] found enum `std::result::Result<&str, Utf8Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fr.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_line(self: &Self, line_start: usize, line_end: usize) -> &'static str { [INFO] [stdout] | ------------ expected `&'static str` because of return type [INFO] [stdout] 32 | str::from_utf8(self.lines[line_start..line_end]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static str` [INFO] [stdout] found enum `std::result::Result<&str, Utf8Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-log-viewer` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4b9557fcb29ff7c0de92064353d8b10a5e711f958b2aa84861b4415d073819c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9557fcb29ff7c0de92064353d8b10a5e711f958b2aa84861b4415d073819c8", kill_on_drop: false }` [INFO] [stdout] 4b9557fcb29ff7c0de92064353d8b10a5e711f958b2aa84861b4415d073819c8