[INFO] cloning repository https://github.com/shaded-enmity/tar-streamer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaded-enmity/tar-streamer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaded-enmity%2Ftar-streamer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaded-enmity%2Ftar-streamer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a2f381ca492dbeed72a0a49b52461c3303945c6 [INFO] checking shaded-enmity/tar-streamer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaded-enmity%2Ftar-streamer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaded-enmity/tar-streamer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaded-enmity/tar-streamer [INFO] finished tweaking git repo https://github.com/shaded-enmity/tar-streamer [INFO] tweaked toml for git repo https://github.com/shaded-enmity/tar-streamer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/shaded-enmity/tar-streamer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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 podio v0.1.7 [INFO] [stderr] Downloaded msdos_time v0.1.6 [INFO] [stderr] Downloaded zip v0.1.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c81a38b0f3e91da2462cbef1693c7325205b5e9b2eb17dedc82f0a910d82c4ba [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" "c81a38b0f3e91da2462cbef1693c7325205b5e9b2eb17dedc82f0a910d82c4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c81a38b0f3e91da2462cbef1693c7325205b5e9b2eb17dedc82f0a910d82c4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81a38b0f3e91da2462cbef1693c7325205b5e9b2eb17dedc82f0a910d82c4ba", kill_on_drop: false }` [INFO] [stdout] c81a38b0f3e91da2462cbef1693c7325205b5e9b2eb17dedc82f0a910d82c4ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66f070e1a15519771596f7e91f086cdfd6641d12a27bed1ef2244d98d99e65e2 [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" "66f070e1a15519771596f7e91f086cdfd6641d12a27bed1ef2244d98d99e65e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking tar v0.4.30 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking xz2 v0.1.6 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.1.19 [INFO] [stderr] Checking tar-streamer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | flags ArchiveType: u32 { [INFO] [stdout] 26 | | const INVALID = 0b00000000, [INFO] [stdout] 27 | | const TAR = 0b00000001, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | flags ArchiveType: u32 { [INFO] [stdout] 26 | | const INVALID = 0b00000000, [INFO] [stdout] 27 | | const TAR = 0b00000001, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/main.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | fn chunked(&mut self, mut buffer: &mut [u8], mut callback: F) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/main.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | fn chunked(&mut self, mut buffer: &mut [u8], mut callback: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let read = try!(self.read(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | flags ArchiveType: u32 { [INFO] [stdout] 26 | | const INVALID = 0b00000000, [INFO] [stdout] 27 | | const TAR = 0b00000001, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | tar_header.set_uid(file_meta.uid()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | help: you can convert a `u32` to a `u64`: `file_meta.uid().into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:245:32 [INFO] [stdout] | [INFO] [stdout] 245 | tar_header.set_gid(file_meta.gid()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | help: you can convert a `u32` to a `u64`: `file_meta.gid().into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | flags ArchiveType: u32 { [INFO] [stdout] 26 | | const INVALID = 0b00000000, [INFO] [stdout] 27 | | const TAR = 0b00000001, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/main.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | fn chunked(&mut self, mut buffer: &mut [u8], mut callback: F) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/main.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | fn chunked(&mut self, mut buffer: &mut [u8], mut callback: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let read = try!(self.read(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-streamer` [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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | tar_header.set_uid(file_meta.uid()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | help: you can convert a `u32` to a `u64`: `file_meta.uid().into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:245:32 [INFO] [stdout] | [INFO] [stdout] 245 | tar_header.set_gid(file_meta.gid()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | help: you can convert a `u32` to a `u64`: `file_meta.gid().into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "66f070e1a15519771596f7e91f086cdfd6641d12a27bed1ef2244d98d99e65e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f070e1a15519771596f7e91f086cdfd6641d12a27bed1ef2244d98d99e65e2", kill_on_drop: false }` [INFO] [stdout] 66f070e1a15519771596f7e91f086cdfd6641d12a27bed1ef2244d98d99e65e2