Aug 17 10:57:53.045 INFO checking segment-tree-1.1.0 against try#a5d98b025f62ace80fe9d2a15781f900fc42515e for pr-53426 Aug 17 10:57:53.045 INFO running: cargo +a5d98b025f62ace80fe9d2a15781f900fc42515e-alt check --frozen --all --all-targets Aug 17 10:57:53.045 INFO creating container for: cargo +a5d98b025f62ace80fe9d2a15781f900fc42515e-alt check --frozen --all --all-targets Aug 17 10:57:53.045 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53426/try#a5d98b025f62ace80fe9d2a15781f900fc42515e:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53426/worker-0/try#a5d98b025f62ace80fe9d2a15781f900fc42515e:/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=500" "-e" "CMD=cargo +a5d98b025f62ace80fe9d2a15781f900fc42515e-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "crater"` Aug 17 10:57:53.294 INFO blam! 0e9b28f6b0e630304729daee3240b4e47a16d0181e8672f5aa5ed186efeddf03 Aug 17 10:57:53.299 INFO running `"docker" "start" "-a" "0e9b28f6b0e630304729daee3240b4e47a16d0181e8672f5aa5ed186efeddf03"` Aug 17 10:57:54.245 INFO kablam! Checking segment-tree v1.1.0 (file:///source) Aug 17 10:57:58.497 INFO kablam! error[E0502]: cannot borrow `buf` as immutable because it is also borrowed as mutable Aug 17 10:57:58.497 INFO kablam! --> src/range_query.rs:454:47 Aug 17 10:57:58.497 INFO kablam! | Aug 17 10:57:58.497 INFO kablam! 454 | for i in 1..buf.len() { buf[i] += buf[i-1]; } // compute the prefix sum Aug 17 10:57:58.497 INFO kablam! | ----------^^^----- Aug 17 10:57:58.497 INFO kablam! | | | Aug 17 10:57:58.497 INFO kablam! | | immutable borrow occurs here Aug 17 10:57:58.497 INFO kablam! | mutable borrow occurs here Aug 17 10:57:58.497 INFO kablam! | borrow used here in later iteration of loop Aug 17 10:57:58.497 INFO kablam! Aug 17 10:57:58.547 INFO kablam! error: aborting due to previous error Aug 17 10:57:58.547 INFO kablam! Aug 17 10:57:58.547 INFO kablam! For more information about this error, try `rustc --explain E0502`. Aug 17 10:57:58.559 INFO kablam! error: Could not compile `segment-tree`. Aug 17 10:57:58.560 INFO kablam! Aug 17 10:57:58.560 INFO kablam! To learn more, run the command again with --verbose. Aug 17 10:57:58.562 INFO kablam! su: No module specific data is present Aug 17 10:57:59.075 INFO running `"docker" "rm" "-f" "0e9b28f6b0e630304729daee3240b4e47a16d0181e8672f5aa5ed186efeddf03"` Aug 17 10:57:59.234 INFO blam! 0e9b28f6b0e630304729daee3240b4e47a16d0181e8672f5aa5ed186efeddf03