[INFO] cloning repository https://github.com/jchen1/seam_carver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jchen1/seam_carver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchen1%2Fseam_carver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchen1%2Fseam_carver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e2b3731028a49c04026cf517fa6fadbc0d1a702 [INFO] checking jchen1/seam_carver against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchen1%2Fseam_carver" "/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/jchen1/seam_carver 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/jchen1/seam_carver [INFO] finished tweaking git repo https://github.com/jchen1/seam_carver [INFO] tweaked toml for git repo https://github.com/jchen1/seam_carver written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/jchen1/seam_carver 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-3/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] 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] d9d285a5d50385fda2dad1ac5e11f8d2ce52703da5465b1a875b5de4a9e4b789 [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" "d9d285a5d50385fda2dad1ac5e11f8d2ce52703da5465b1a875b5de4a9e4b789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9d285a5d50385fda2dad1ac5e11f8d2ce52703da5465b1a875b5de4a9e4b789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d285a5d50385fda2dad1ac5e11f8d2ce52703da5465b1a875b5de4a9e4b789", kill_on_drop: false }` [INFO] [stdout] d9d285a5d50385fda2dad1ac5e11f8d2ce52703da5465b1a875b5de4a9e4b789 [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] f8d0d9bc35d208cc1fd0d79f69ad9efcaf7044329a78a5044081865fb5e1c486 [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" "f8d0d9bc35d208cc1fd0d79f69ad9efcaf7044329a78a5044081865fb5e1c486", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking enum_primitive v0.0.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking png v0.3.1 [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/common.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | flags Transformations: u32 { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::Transformations` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use common::{ColorType, BitDepth, Info, Transformations}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Transformations` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | transform: ::TRANSFORM_EXPAND | ::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_SCALE_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | transform: ::TRANSFORM_EXPAND | ::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_STRIP_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 68 | transform: ::TRANSFORM_EXPAND | ::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_IDENTITY` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:250:27 [INFO] [stdout] | [INFO] [stdout] 250 | if transform == ::TRANSFORM_IDENTITY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:271:41 [INFO] [stdout] | [INFO] [stdout] 271 | if transform.contains(::TRANSFORM_EXPAND) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_SCALE_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:291:62 [INFO] [stdout] | [INFO] [stdout] 291 | if bit_depth == 16 && transform.intersects(::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_STRIP_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:291:85 [INFO] [stdout] | [INFO] [stdout] 291 | if bit_depth == 16 && transform.intersects(::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_IDENTITY` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | if t == ::TRANSFORM_IDENTITY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_SCALE_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | ::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_STRIP_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:318:46 [INFO] [stdout] | [INFO] [stdout] 318 | ::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:320:35 [INFO] [stdout] | [INFO] [stdout] 320 | _ if t.contains(::TRANSFORM_EXPAND) => 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:323:46 [INFO] [stdout] | [INFO] [stdout] 323 | let color_type = if t.contains(::TRANSFORM_EXPAND) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_SCALE_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:351:15 [INFO] [stdout] | [INFO] [stdout] 351 | ::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_STRIP_16` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:351:38 [INFO] [stdout] | [INFO] [stdout] 351 | ::TRANSFORM_SCALE_16 | ::TRANSFORM_STRIP_16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:367:45 [INFO] [stdout] | [INFO] [stdout] 367 | Indexed if trns && t.contains(::TRANSFORM_EXPAND) => 4 * 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:368:37 [INFO] [stdout] | [INFO] [stdout] 368 | Indexed if t.contains(::TRANSFORM_EXPAND) => 3 * 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:369:41 [INFO] [stdout] | [INFO] [stdout] 369 | RGB if trns && t.contains(::TRANSFORM_EXPAND) => 4 * 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:370:47 [INFO] [stdout] | [INFO] [stdout] 370 | Grayscale if trns && t.contains(::TRANSFORM_EXPAND) => 2 * 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:371:39 [INFO] [stdout] | [INFO] [stdout] 371 | Grayscale if t.contains(::TRANSFORM_EXPAND) => 1 * 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSFORM_EXPAND` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/decoder/mod.rs:372:44 [INFO] [stdout] | [INFO] [stdout] 372 | GrayscaleAlpha if t.contains(::TRANSFORM_EXPAND) => 2 * 8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Best` found for struct `Compression` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/png-0.3.1/src/encoder.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | flate2::Compression::Best [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `Compression` [INFO] [stdout] | help: there is an associated function with a similar name: `best` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `png` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f8d0d9bc35d208cc1fd0d79f69ad9efcaf7044329a78a5044081865fb5e1c486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d0d9bc35d208cc1fd0d79f69ad9efcaf7044329a78a5044081865fb5e1c486", kill_on_drop: false }` [INFO] [stdout] f8d0d9bc35d208cc1fd0d79f69ad9efcaf7044329a78a5044081865fb5e1c486