[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fpbm" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/apoloval/pbm 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/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-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 34556586088b0b8b6f4599c93bf2a527f8335b72f37991b961d4221f31ebbfeb [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" "34556586088b0b8b6f4599c93bf2a527f8335b72f37991b961d4221f31ebbfeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34556586088b0b8b6f4599c93bf2a527f8335b72f37991b961d4221f31ebbfeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34556586088b0b8b6f4599c93bf2a527f8335b72f37991b961d4221f31ebbfeb", kill_on_drop: false }` [INFO] [stdout] 34556586088b0b8b6f4599c93bf2a527f8335b72f37991b961d4221f31ebbfeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 73a06097d495e8e19f844e5d7f9fb6dcb9e59712d2231f2c5330f14689ebe5ed [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" "73a06097d495e8e19f844e5d7f9fb6dcb9e59712d2231f2c5330f14689ebe5ed", 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: 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] [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] [stderr] error: could not compile `pbm` [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] [stderr] [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] [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" "73a06097d495e8e19f844e5d7f9fb6dcb9e59712d2231f2c5330f14689ebe5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a06097d495e8e19f844e5d7f9fb6dcb9e59712d2231f2c5330f14689ebe5ed", kill_on_drop: false }` [INFO] [stdout] 73a06097d495e8e19f844e5d7f9fb6dcb9e59712d2231f2c5330f14689ebe5ed