[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#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzidoshare%2Fsimple-log-viewer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zidoshare/simple-log-viewer on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "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-13/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 351c76725639dbc8f3e3be21e2080dda1ee66531617eeb614485d76b287df83e [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" "351c76725639dbc8f3e3be21e2080dda1ee66531617eeb614485d76b287df83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "351c76725639dbc8f3e3be21e2080dda1ee66531617eeb614485d76b287df83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351c76725639dbc8f3e3be21e2080dda1ee66531617eeb614485d76b287df83e", kill_on_drop: false }` [INFO] [stdout] 351c76725639dbc8f3e3be21e2080dda1ee66531617eeb614485d76b287df83e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fe3baefa3dc62859f258536e6b8572faee8bb2082664c6ceac23c4b5f21fa1d [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" "3fe3baefa3dc62859f258536e6b8572faee8bb2082664c6ceac23c4b5f21fa1d", kill_on_drop: false }` [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" "3fe3baefa3dc62859f258536e6b8572faee8bb2082664c6ceac23c4b5f21fa1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe3baefa3dc62859f258536e6b8572faee8bb2082664c6ceac23c4b5f21fa1d", kill_on_drop: false }` [INFO] [stdout] 3fe3baefa3dc62859f258536e6b8572faee8bb2082664c6ceac23c4b5f21fa1d