[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fpbm" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/apoloval/pbm on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3faea1e8d45a2a24a65bdcf919fd80799ff90a27e2cfc23c29f9dc7645f7bb3a [INFO] running `Command { std: "docker" "start" "-a" "3faea1e8d45a2a24a65bdcf919fd80799ff90a27e2cfc23c29f9dc7645f7bb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3faea1e8d45a2a24a65bdcf919fd80799ff90a27e2cfc23c29f9dc7645f7bb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3faea1e8d45a2a24a65bdcf919fd80799ff90a27e2cfc23c29f9dc7645f7bb3a", kill_on_drop: false }` [INFO] [stdout] 3faea1e8d45a2a24a65bdcf919fd80799ff90a27e2cfc23c29f9dc7645f7bb3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 251bdf847576b066f6ee07ea4957d83ce9b1960d08c9e81cfd620989bc1325e1 [INFO] running `Command { std: "docker" "start" "-a" "251bdf847576b066f6ee07ea4957d83ce9b1960d08c9e81cfd620989bc1325e1", 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[E0635]: unknown feature `fs` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(fs)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(io)] [INFO] [stdout] | ^^ [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 4 previous errors; 10 warnings emitted [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] Some errors have detailed explanations: E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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[E0635]: unknown feature `fs` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(fs)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(io)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbm` (bin "pbm") due to 5 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pbm` (bin "pbm" test) due to 11 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "251bdf847576b066f6ee07ea4957d83ce9b1960d08c9e81cfd620989bc1325e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "251bdf847576b066f6ee07ea4957d83ce9b1960d08c9e81cfd620989bc1325e1", kill_on_drop: false }` [INFO] [stdout] 251bdf847576b066f6ee07ea4957d83ce9b1960d08c9e81cfd620989bc1325e1