Sep 21 05:38:04.778 INFO checking png-framing-0.5.0 against try#f1a3f05968ed2a674e09b6efa4ad9df90816e2b6 for pr-54394 Sep 21 05:38:04.778 INFO running: cargo +f1a3f05968ed2a674e09b6efa4ad9df90816e2b6-alt check --frozen --all --all-targets Sep 21 05:38:04.779 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-54394/try#f1a3f05968ed2a674e09b6efa4ad9df90816e2b6:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-54394/worker-3/try#f1a3f05968ed2a674e09b6efa4ad9df90816e2b6:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "CMD=cargo +f1a3f05968ed2a674e09b6efa4ad9df90816e2b6-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "crater"` Sep 21 05:38:04.925 INFO blam! 2ea8206e007d30e2b3e8464275012b3cb9f0e6a7c8d92378b44d0b3518463c96 Sep 21 05:38:04.927 INFO running `"docker" "start" "-a" "2ea8206e007d30e2b3e8464275012b3cb9f0e6a7c8d92378b44d0b3518463c96"` Sep 21 05:38:05.672 INFO kablam! usermod: no changes Sep 21 05:38:05.720 INFO kablam! Checking clamp v0.1.0 Sep 21 05:38:05.720 INFO kablam! Checking rgb v0.8.11 Sep 21 05:38:05.722 INFO kablam! Compiling lodepng v1.2.2 Sep 21 05:38:05.954 INFO kablam! Checking framing v0.6.0 Sep 21 05:38:06.534 INFO kablam! error: cannot infer an appropriate lifetime Sep 21 05:38:06.534 INFO kablam! --> /cargo-home/registry/src/github.com-1ecc6299db9ec823/framing-0.6.0/src/transforms/iter.rs:10:20 Sep 21 05:38:06.534 INFO kablam! | Sep 21 05:38:06.534 INFO kablam! 6 | -> impl Iterator + ExactSizeIterator Sep 21 05:38:06.534 INFO kablam! | ------------------------------------------------------------------ this return type evaluates to the `'static` lifetime... Sep 21 05:38:06.534 INFO kablam! ... Sep 21 05:38:06.534 INFO kablam! 10 | (0..w * h).map(move |i| unsafe { Sep 21 05:38:06.534 INFO kablam! | ____________________^ Sep 21 05:38:06.534 INFO kablam! 11 | | let (x, y) = (i % w, i / w); Sep 21 05:38:06.534 INFO kablam! 12 | | (x, y, frame.pixel(i % w, i / w)) Sep 21 05:38:06.534 INFO kablam! 13 | | }) Sep 21 05:38:06.534 INFO kablam! | |_____^ ...but this borrow... Sep 21 05:38:06.534 INFO kablam! | Sep 21 05:38:06.534 INFO kablam! note: ...can't outlive the lifetime 'a as defined on the function body at 5:13 Sep 21 05:38:06.534 INFO kablam! --> /cargo-home/registry/src/github.com-1ecc6299db9ec823/framing-0.6.0/src/transforms/iter.rs:5:13 Sep 21 05:38:06.534 INFO kablam! | Sep 21 05:38:06.534 INFO kablam! 5 | pub fn iter<'a, T: Image>(frame: &'a T) Sep 21 05:38:06.534 INFO kablam! | ^^ Sep 21 05:38:06.534 INFO kablam! help: you can add a constraint to the return type to make it last less than `'static` and match the lifetime 'a as defined on the function body at 5:13 Sep 21 05:38:06.534 INFO kablam! | Sep 21 05:38:06.534 INFO kablam! 6 | -> impl Iterator + ExactSizeIterator + 'a Sep 21 05:38:06.534 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 21 05:38:06.534 INFO kablam! Sep 21 05:38:06.538 INFO kablam! error: cannot infer an appropriate lifetime Sep 21 05:38:06.538 INFO kablam! --> /cargo-home/registry/src/github.com-1ecc6299db9ec823/framing-0.6.0/src/transforms/iter.rs:25:36 Sep 21 05:38:06.538 INFO kablam! | Sep 21 05:38:06.538 INFO kablam! 18 | -> impl ParallelIterator Sep 21 05:38:06.538 INFO kablam! | ------------------------------------------------------ this return type evaluates to the `'static` lifetime... Sep 21 05:38:06.538 INFO kablam! ... Sep 21 05:38:06.538 INFO kablam! 25 | (0..w * h).into_par_iter().map(move |i| unsafe { Sep 21 05:38:06.538 INFO kablam! | ____________________________________^ Sep 21 05:38:06.538 INFO kablam! 26 | | let (x, y) = (i % w, i / w); Sep 21 05:38:06.538 INFO kablam! 27 | | (x, y, frame.pixel(i % w, i / w)) Sep 21 05:38:06.538 INFO kablam! 28 | | }) Sep 21 05:38:06.538 INFO kablam! | |_____^ ...but this borrow... Sep 21 05:38:06.538 INFO kablam! | Sep 21 05:38:06.538 INFO kablam! note: ...can't outlive the lifetime 'a as defined on the function body at 17:17 Sep 21 05:38:06.538 INFO kablam! --> /cargo-home/registry/src/github.com-1ecc6299db9ec823/framing-0.6.0/src/transforms/iter.rs:17:17 Sep 21 05:38:06.538 INFO kablam! | Sep 21 05:38:06.538 INFO kablam! 17 | pub fn par_iter<'a, T>(frame: &'a T) Sep 21 05:38:06.538 INFO kablam! | ^^ Sep 21 05:38:06.538 INFO kablam! help: you can add a constraint to the return type to make it last less than `'static` and match the lifetime 'a as defined on the function body at 17:17 Sep 21 05:38:06.538 INFO kablam! | Sep 21 05:38:06.538 INFO kablam! 18 | -> impl ParallelIterator + 'a Sep 21 05:38:06.538 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 21 05:38:06.538 INFO kablam! Sep 21 05:38:06.564 INFO kablam! error: aborting due to 2 previous errors Sep 21 05:38:06.564 INFO kablam! Sep 21 05:38:06.578 INFO kablam! error: Could not compile `framing`. Sep 21 05:38:06.578 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 21 05:38:06.951 INFO kablam! error: build failed Sep 21 05:38:06.952 INFO kablam! su: No module specific data is present Sep 21 05:38:07.720 INFO running `"docker" "rm" "-f" "2ea8206e007d30e2b3e8464275012b3cb9f0e6a7c8d92378b44d0b3518463c96"` Sep 21 05:38:07.794 INFO blam! 2ea8206e007d30e2b3e8464275012b3cb9f0e6a7c8d92378b44d0b3518463c96