[INFO] cloning repository https://github.com/apoloval/pbm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apoloval/pbm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fpbm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fpbm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 219801dc98f2fdd82732c586cb67db7276423b76 [INFO] checking apoloval/pbm against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fpbm" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/apoloval/pbm 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/apoloval/pbm [INFO] finished tweaking git repo https://github.com/apoloval/pbm [INFO] tweaked toml for git repo https://github.com/apoloval/pbm written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/apoloval/pbm 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b6d754fb54f9a634506216da4bf73a2d852e9bd3fbdea024e982e8c6630c927 [INFO] running `Command { std: "docker" "start" "-a" "7b6d754fb54f9a634506216da4bf73a2d852e9bd3fbdea024e982e8c6630c927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b6d754fb54f9a634506216da4bf73a2d852e9bd3fbdea024e982e8c6630c927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b6d754fb54f9a634506216da4bf73a2d852e9bd3fbdea024e982e8c6630c927", kill_on_drop: false }` [INFO] [stdout] 7b6d754fb54f9a634506216da4bf73a2d852e9bd3fbdea024e982e8c6630c927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 8a6508f1094a28efa4808a7ce716f8a1f0fb7a46b0f5525506fc7e6e91607c8a [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" "8a6508f1094a28efa4808a7ce716f8a1f0fb7a46b0f5525506fc7e6e91607c8a", kill_on_drop: false }` [INFO] [stderr] Checking pbm v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/bmp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/bmp.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | let mut file = try!(fs::File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let hd = try!(Bitmap::read_header(&mut binput)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | let dib = try!(Bitmap::read_dib(&mut binput)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | let ct = try!(Bitmap::read_color_table(&mut binput, dib.colors as usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let pixels = try!(Bitmap::read_pixels( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | let nbytes = try!(input.read(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | let buff = try!(Bitmap::read_section(input, 14)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | let buff = try!(Bitmap::read_section(input, 40)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | let buff = try!(Bitmap::read_section(input, 4*ncolors)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | let buff = try!(Bitmap::read_section(input, ebytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/bmp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/bmp.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/bmp.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[should_fail(expected = "BadMagic")] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/bmp.rs:238:7 [INFO] [stdout] | [INFO] [stdout] 238 | #[should_fail(expected = "UnexpectedEof")] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/bmp.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | #[should_fail(expected = "UnsupportedDib")] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/bmp.rs:273:7 [INFO] [stdout] | [INFO] [stdout] 273 | #[should_fail(expected = "UnexpectedEof")] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/bmp.rs:301:7 [INFO] [stdout] | [INFO] [stdout] 301 | #[should_fail(expected = "UnexpectedEof")] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/bmp.rs:333:7 [INFO] [stdout] | [INFO] [stdout] 333 | #[should_fail(expected = "UnsupportedBpp")] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pbm` [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] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | let mut file = try!(fs::File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let hd = try!(Bitmap::read_header(&mut binput)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | let dib = try!(Bitmap::read_dib(&mut binput)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | let ct = try!(Bitmap::read_color_table(&mut binput, dib.colors as usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let pixels = try!(Bitmap::read_pixels( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | let nbytes = try!(input.read(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | let buff = try!(Bitmap::read_section(input, 14)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | let buff = try!(Bitmap::read_section(input, 40)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | let buff = try!(Bitmap::read_section(input, 4*ncolors)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bmp.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | let buff = try!(Bitmap::read_section(input, ebytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8a6508f1094a28efa4808a7ce716f8a1f0fb7a46b0f5525506fc7e6e91607c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6508f1094a28efa4808a7ce716f8a1f0fb7a46b0f5525506fc7e6e91607c8a", kill_on_drop: false }` [INFO] [stdout] 8a6508f1094a28efa4808a7ce716f8a1f0fb7a46b0f5525506fc7e6e91607c8a