[INFO] cloning repository https://github.com/myfreeweb/imagespells [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myfreeweb/imagespells" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyfreeweb%2Fimagespells", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyfreeweb%2Fimagespells'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66dcf56e8a4492a89b065024e0790427944e99f8 [INFO] checking myfreeweb/imagespells against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyfreeweb%2Fimagespells" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myfreeweb/imagespells 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/myfreeweb/imagespells [INFO] removed path dependency mozjpeg-sys from git repo https://github.com/myfreeweb/imagespells [INFO] finished tweaking git repo https://github.com/myfreeweb/imagespells [INFO] tweaked toml for git repo https://github.com/myfreeweb/imagespells written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/myfreeweb/imagespells 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] [stderr] warning: dependency (mozjpeg-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (mozjpeg-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nasm-rs v0.2.0 [INFO] [stderr] Downloaded mozjpeg-sys v0.10.11 [INFO] [stderr] Downloaded kamadak-exif v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] f143c22be60fa07cd7576e84f14aa25f44aaa172082ae63d6134ab6098438eaf [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" "f143c22be60fa07cd7576e84f14aa25f44aaa172082ae63d6134ab6098438eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f143c22be60fa07cd7576e84f14aa25f44aaa172082ae63d6134ab6098438eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f143c22be60fa07cd7576e84f14aa25f44aaa172082ae63d6134ab6098438eaf", kill_on_drop: false }` [INFO] [stdout] f143c22be60fa07cd7576e84f14aa25f44aaa172082ae63d6134ab6098438eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 5cf7e84ea35f8004d93f85069fa1300c3d24635d233ea5aa9dbba64e2b03f05b [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" "5cf7e84ea35f8004d93f85069fa1300c3d24635d233ea5aa9dbba64e2b03f05b", kill_on_drop: false }` [INFO] [stderr] warning: dependency (mozjpeg-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling dunce v1.0.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking kamadak-exif v0.2.3 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.7.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling nasm-rs v0.2.0 [INFO] [stderr] Compiling mozjpeg-sys v0.10.11 [INFO] [stderr] Checking image v0.13.0 [INFO] [stderr] Checking imagespells v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `size_t` in this scope [INFO] [stdout] --> src/jpeg.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let size: size_t = mem::size_of_val(&dec.cinfo); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use libc::size_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `size_t` in this scope [INFO] [stdout] --> src/jpeg.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let size: size_t = mem::size_of_val(&enc.cinfo); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use libc::size_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Write` [INFO] [stdout] --> src/jpeg.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, BufRead}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `size_t` in this scope [INFO] [stdout] --> src/jpeg.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let size: size_t = mem::size_of_val(&dec.cinfo); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use libc::size_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `size_t` in this scope [INFO] [stdout] --> src/jpeg.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let size: size_t = mem::size_of_val(&enc.cinfo); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use libc::size_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Write` [INFO] [stdout] --> src/jpeg.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, BufRead}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/jpeg.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 219 | *bufp = buf.as_mut_ptr().offset(self.cinfo.output_scanline as isize * stride); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` 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 the 2018 edition! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/jpeg.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 219 | *bufp = buf.as_mut_ptr().offset(self.cinfo.output_scanline as isize * stride); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` 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 the 2018 edition! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `imagespells` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5cf7e84ea35f8004d93f85069fa1300c3d24635d233ea5aa9dbba64e2b03f05b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf7e84ea35f8004d93f85069fa1300c3d24635d233ea5aa9dbba64e2b03f05b", kill_on_drop: false }` [INFO] [stdout] 5cf7e84ea35f8004d93f85069fa1300c3d24635d233ea5aa9dbba64e2b03f05b