Sep 10 18:55:28.693 INFO checking framing-0.3.5 against try#3a2610c2a16575649896925631bf8cec4f4b1961 for pr-54090 Sep 10 18:55:28.693 INFO running: cargo +3a2610c2a16575649896925631bf8cec4f4b1961-alt check --frozen --all --all-targets Sep 10 18:55:28.693 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-54090/try#3a2610c2a16575649896925631bf8cec4f4b1961:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-54090/worker-3/try#3a2610c2a16575649896925631bf8cec4f4b1961:/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 +3a2610c2a16575649896925631bf8cec4f4b1961-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-m" "2G" "crater"` Sep 10 18:55:28.967 INFO blam! 3371c153f7b7f9e8dac16515ef06a4b0a23e9291dbcbcfe889b31c516dc1ef09 Sep 10 18:55:28.967 INFO running `"docker" "start" "-a" "3371c153f7b7f9e8dac16515ef06a4b0a23e9291dbcbcfe889b31c516dc1ef09"` Sep 10 18:55:30.150 INFO kablam! usermod: no changes Sep 10 18:55:30.231 INFO kablam! Checking framing v0.3.5 (file:///source) Sep 10 18:55:30.994 INFO kablam! error: cannot infer an appropriate lifetime Sep 10 18:55:30.994 INFO kablam! --> src/transforms/iter.rs:10:20 Sep 10 18:55:30.994 INFO kablam! | Sep 10 18:55:30.994 INFO kablam! 6 | -> impl Iterator + ExactSizeIterator Sep 10 18:55:30.994 INFO kablam! | ------------------------------------------------------------------ this return type evaluates to the `'static` lifetime... Sep 10 18:55:30.994 INFO kablam! ... Sep 10 18:55:30.994 INFO kablam! 10 | (0..w * h).map(move |i| unsafe { Sep 10 18:55:30.994 INFO kablam! | ____________________^ Sep 10 18:55:30.994 INFO kablam! 11 | | let (x, y) = (i % w, i / w); Sep 10 18:55:30.994 INFO kablam! 12 | | (x, y, frame.pixel(i % w, i / w)) Sep 10 18:55:30.994 INFO kablam! 13 | | }) Sep 10 18:55:30.994 INFO kablam! | |_____^ ...but this borrow... Sep 10 18:55:30.994 INFO kablam! | Sep 10 18:55:30.994 INFO kablam! note: ...can't outlive the lifetime 'a as defined on the function body at 5:13 Sep 10 18:55:30.994 INFO kablam! --> src/transforms/iter.rs:5:13 Sep 10 18:55:30.994 INFO kablam! | Sep 10 18:55:30.994 INFO kablam! 5 | pub fn iter<'a, T: Image>(frame: &'a T) Sep 10 18:55:30.994 INFO kablam! | ^^ Sep 10 18:55:30.994 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 10 18:55:30.994 INFO kablam! | Sep 10 18:55:30.994 INFO kablam! 6 | -> impl Iterator + ExactSizeIterator + 'a Sep 10 18:55:30.994 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 10 18:55:30.994 INFO kablam! Sep 10 18:55:30.994 INFO kablam! error: cannot infer an appropriate lifetime Sep 10 18:55:30.994 INFO kablam! --> src/transforms/iter.rs:25:36 Sep 10 18:55:30.994 INFO kablam! | Sep 10 18:55:30.994 INFO kablam! 18 | -> impl ParallelIterator Sep 10 18:55:30.994 INFO kablam! | ------------------------------------------------------ this return type evaluates to the `'static` lifetime... Sep 10 18:55:30.994 INFO kablam! ... Sep 10 18:55:30.994 INFO kablam! 25 | (0..w * h).into_par_iter().map(move |i| unsafe { Sep 10 18:55:30.994 INFO kablam! | ____________________________________^ Sep 10 18:55:30.994 INFO kablam! 26 | | let (x, y) = (i % w, i / w); Sep 10 18:55:30.994 INFO kablam! 27 | | (x, y, frame.pixel(i % w, i / w)) Sep 10 18:55:30.994 INFO kablam! 28 | | }) Sep 10 18:55:30.994 INFO kablam! | |_____^ ...but this borrow... Sep 10 18:55:30.995 INFO kablam! | Sep 10 18:55:30.995 INFO kablam! note: ...can't outlive the lifetime 'a as defined on the function body at 17:17 Sep 10 18:55:30.995 INFO kablam! --> src/transforms/iter.rs:17:17 Sep 10 18:55:30.995 INFO kablam! | Sep 10 18:55:30.995 INFO kablam! 17 | pub fn par_iter<'a, T>(frame: &'a T) Sep 10 18:55:30.995 INFO kablam! | ^^ Sep 10 18:55:30.995 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 10 18:55:30.995 INFO kablam! | Sep 10 18:55:30.995 INFO kablam! 18 | -> impl ParallelIterator + 'a Sep 10 18:55:30.995 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 10 18:55:30.995 INFO kablam! Sep 10 18:55:31.002 INFO kablam! error: aborting due to 2 previous errors Sep 10 18:55:31.002 INFO kablam! Sep 10 18:55:31.010 INFO kablam! error: Could not compile `framing`. Sep 10 18:55:31.010 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 10 18:55:31.174 INFO kablam! error: cannot infer an appropriate lifetime Sep 10 18:55:31.174 INFO kablam! --> src/transforms/iter.rs:10:20 Sep 10 18:55:31.174 INFO kablam! | Sep 10 18:55:31.174 INFO kablam! 6 | -> impl Iterator + ExactSizeIterator Sep 10 18:55:31.174 INFO kablam! | ------------------------------------------------------------------ this return type evaluates to the `'static` lifetime... Sep 10 18:55:31.174 INFO kablam! ... Sep 10 18:55:31.174 INFO kablam! 10 | (0..w * h).map(move |i| unsafe { Sep 10 18:55:31.174 INFO kablam! | ____________________^ Sep 10 18:55:31.174 INFO kablam! 11 | | let (x, y) = (i % w, i / w); Sep 10 18:55:31.174 INFO kablam! 12 | | (x, y, frame.pixel(i % w, i / w)) Sep 10 18:55:31.174 INFO kablam! 13 | | }) Sep 10 18:55:31.174 INFO kablam! | |_____^ ...but this borrow... Sep 10 18:55:31.174 INFO kablam! | Sep 10 18:55:31.174 INFO kablam! note: ...can't outlive the lifetime 'a as defined on the function body at 5:13 Sep 10 18:55:31.174 INFO kablam! --> src/transforms/iter.rs:5:13 Sep 10 18:55:31.174 INFO kablam! | Sep 10 18:55:31.174 INFO kablam! 5 | pub fn iter<'a, T: Image>(frame: &'a T) Sep 10 18:55:31.174 INFO kablam! | ^^ Sep 10 18:55:31.174 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 10 18:55:31.174 INFO kablam! | Sep 10 18:55:31.174 INFO kablam! 6 | -> impl Iterator + ExactSizeIterator + 'a Sep 10 18:55:31.174 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 10 18:55:31.174 INFO kablam! Sep 10 18:55:31.178 INFO kablam! error: cannot infer an appropriate lifetime Sep 10 18:55:31.178 INFO kablam! --> src/transforms/iter.rs:25:36 Sep 10 18:55:31.178 INFO kablam! | Sep 10 18:55:31.178 INFO kablam! 18 | -> impl ParallelIterator Sep 10 18:55:31.178 INFO kablam! | ------------------------------------------------------ this return type evaluates to the `'static` lifetime... Sep 10 18:55:31.178 INFO kablam! ... Sep 10 18:55:31.178 INFO kablam! 25 | (0..w * h).into_par_iter().map(move |i| unsafe { Sep 10 18:55:31.178 INFO kablam! | ____________________________________^ Sep 10 18:55:31.178 INFO kablam! 26 | | let (x, y) = (i % w, i / w); Sep 10 18:55:31.178 INFO kablam! 27 | | (x, y, frame.pixel(i % w, i / w)) Sep 10 18:55:31.178 INFO kablam! 28 | | }) Sep 10 18:55:31.178 INFO kablam! | |_____^ ...but this borrow... Sep 10 18:55:31.178 INFO kablam! | Sep 10 18:55:31.178 INFO kablam! note: ...can't outlive the lifetime 'a as defined on the function body at 17:17 Sep 10 18:55:31.178 INFO kablam! --> src/transforms/iter.rs:17:17 Sep 10 18:55:31.178 INFO kablam! | Sep 10 18:55:31.178 INFO kablam! 17 | pub fn par_iter<'a, T>(frame: &'a T) Sep 10 18:55:31.178 INFO kablam! | ^^ Sep 10 18:55:31.178 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 10 18:55:31.178 INFO kablam! | Sep 10 18:55:31.178 INFO kablam! 18 | -> impl ParallelIterator + 'a Sep 10 18:55:31.178 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 10 18:55:31.178 INFO kablam! Sep 10 18:55:31.186 INFO kablam! error: aborting due to 2 previous errors Sep 10 18:55:31.186 INFO kablam! Sep 10 18:55:31.195 INFO kablam! error: Could not compile `framing`. Sep 10 18:55:31.195 INFO kablam! Sep 10 18:55:31.195 INFO kablam! To learn more, run the command again with --verbose. Sep 10 18:55:31.196 INFO kablam! su: No module specific data is present Sep 10 18:55:31.784 INFO running `"docker" "rm" "-f" "3371c153f7b7f9e8dac16515ef06a4b0a23e9291dbcbcfe889b31c516dc1ef09"` Sep 10 18:55:31.915 INFO blam! 3371c153f7b7f9e8dac16515ef06a4b0a23e9291dbcbcfe889b31c516dc1ef09