Oct 12 11:50:16.333 INFO checking tperdue321/rust_ownership against master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f for pr-54977 Oct 12 11:50:16.333 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-2/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/pr-54977/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +5af0bb83044c3fb43d59ad5f49ee5ae1a293901f-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 12 11:50:16.922 INFO blam! 51f1284b48502fb12ed1a88bc3fa9a1951b646b8b1647e1a55c1e2052ac5e6c3 Oct 12 11:50:16.924 INFO running `"docker" "start" "-a" "51f1284b48502fb12ed1a88bc3fa9a1951b646b8b1647e1a55c1e2052ac5e6c3"` Oct 12 11:50:18.064 INFO kablam! usermod: no changes Oct 12 11:50:18.124 INFO kablam! Checking ownership v0.1.0 (/source) Oct 12 11:50:18.377 INFO kablam! warning: unused variable: `string` Oct 12 11:50:18.377 INFO kablam! --> src/main.rs:13:13 Oct 12 11:50:18.377 INFO kablam! | Oct 12 11:50:18.377 INFO kablam! 13 | let string = "hello"; // string is valid from here forward Oct 12 11:50:18.378 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 12 11:50:18.378 INFO kablam! | Oct 12 11:50:18.378 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 11:50:18.378 INFO kablam! Oct 12 11:50:18.379 INFO kablam! warning: unused variable: `s2` Oct 12 11:50:18.379 INFO kablam! --> src/main.rs:40:9 Oct 12 11:50:18.379 INFO kablam! | Oct 12 11:50:18.380 INFO kablam! 40 | let s2 = s1; Oct 12 11:50:18.380 INFO kablam! | ^^ help: consider using `_s2` instead Oct 12 11:50:18.380 INFO kablam! Oct 12 11:50:18.380 INFO kablam! warning: unused variable: `s1` Oct 12 11:50:18.381 INFO kablam! --> src/main.rs:68:9 Oct 12 11:50:18.381 INFO kablam! | Oct 12 11:50:18.381 INFO kablam! 68 | let s1 = gives_ownership(); // gives_ownership moves its return Oct 12 11:50:18.382 INFO kablam! | ^^ help: consider using `_s1` instead Oct 12 11:50:18.382 INFO kablam! Oct 12 11:50:18.382 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:18.382 INFO kablam! --> src/main.rs:98:9 Oct 12 11:50:18.383 INFO kablam! | Oct 12 11:50:18.383 INFO kablam! 98 | let r1 = &mut s2; Oct 12 11:50:18.383 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:18.383 INFO kablam! Oct 12 11:50:18.384 INFO kablam! warning: unused variable: `r3` Oct 12 11:50:18.384 INFO kablam! --> src/main.rs:107:13 Oct 12 11:50:18.384 INFO kablam! | Oct 12 11:50:18.384 INFO kablam! 107 | let r3 = &mut s3; Oct 12 11:50:18.385 INFO kablam! | ^^ help: consider using `_r3` instead Oct 12 11:50:18.385 INFO kablam! Oct 12 11:50:18.385 INFO kablam! warning: unused variable: `r4` Oct 12 11:50:18.386 INFO kablam! --> src/main.rs:110:9 Oct 12 11:50:18.386 INFO kablam! | Oct 12 11:50:18.386 INFO kablam! 110 | let r4 = &mut s3; Oct 12 11:50:18.386 INFO kablam! | ^^ help: consider using `_r4` instead Oct 12 11:50:18.387 INFO kablam! Oct 12 11:50:18.387 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:18.387 INFO kablam! --> src/main.rs:113:9 Oct 12 11:50:18.387 INFO kablam! | Oct 12 11:50:18.388 INFO kablam! 113 | let r1 = &s; // immutable ref Oct 12 11:50:18.388 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:18.388 INFO kablam! Oct 12 11:50:18.389 INFO kablam! warning: unused variable: `r2` Oct 12 11:50:18.389 INFO kablam! --> src/main.rs:114:9 Oct 12 11:50:18.389 INFO kablam! | Oct 12 11:50:18.389 INFO kablam! 114 | let r2 = &s; // second because as many refs can read the same data safely Oct 12 11:50:18.390 INFO kablam! | ^^ help: consider using `_r2` instead Oct 12 11:50:18.390 INFO kablam! Oct 12 11:50:18.390 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.390 INFO kablam! --> src/main.rs:140:9 Oct 12 11:50:18.391 INFO kablam! | Oct 12 11:50:18.391 INFO kablam! 140 | let slice = &s[0..2]; // same Oct 12 11:50:18.391 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.391 INFO kablam! Oct 12 11:50:18.392 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.392 INFO kablam! --> src/main.rs:141:9 Oct 12 11:50:18.392 INFO kablam! | Oct 12 11:50:18.392 INFO kablam! 141 | let slice = &s[..2]; // same Oct 12 11:50:18.393 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.393 INFO kablam! Oct 12 11:50:18.393 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.393 INFO kablam! --> src/main.rs:145:9 Oct 12 11:50:18.394 INFO kablam! | Oct 12 11:50:18.394 INFO kablam! 145 | let slice = &s[2..len]; // same Oct 12 11:50:18.394 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.394 INFO kablam! Oct 12 11:50:18.394 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.395 INFO kablam! --> src/main.rs:146:9 Oct 12 11:50:18.395 INFO kablam! | Oct 12 11:50:18.395 INFO kablam! 146 | let slice = &s[2..]; // same Oct 12 11:50:18.395 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.396 INFO kablam! Oct 12 11:50:18.400 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.400 INFO kablam! --> src/main.rs:148:9 Oct 12 11:50:18.401 INFO kablam! | Oct 12 11:50:18.401 INFO kablam! 148 | let slice = &s[0..len]; // same Oct 12 11:50:18.401 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.401 INFO kablam! Oct 12 11:50:18.402 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.402 INFO kablam! --> src/main.rs:149:9 Oct 12 11:50:18.402 INFO kablam! | Oct 12 11:50:18.402 INFO kablam! 149 | let slice = &s[..]; // same Oct 12 11:50:18.403 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.403 INFO kablam! Oct 12 11:50:18.403 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.403 INFO kablam! --> src/main.rs:166:9 Oct 12 11:50:18.404 INFO kablam! | Oct 12 11:50:18.404 INFO kablam! 166 | let slice = &a[0..2]; Oct 12 11:50:18.404 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.405 INFO kablam! Oct 12 11:50:18.405 INFO kablam! warning: variable does not need to be mutable Oct 12 11:50:18.405 INFO kablam! --> src/main.rs:112:9 Oct 12 11:50:18.405 INFO kablam! | Oct 12 11:50:18.406 INFO kablam! 112 | let mut s = String::from("hello s"); Oct 12 11:50:18.406 INFO kablam! | ----^ Oct 12 11:50:18.406 INFO kablam! | | Oct 12 11:50:18.406 INFO kablam! | help: remove this `mut` Oct 12 11:50:18.407 INFO kablam! | Oct 12 11:50:18.407 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 11:50:18.407 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `string` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:13:13 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 13 | let string = "hello"; // string is valid from here forward Oct 12 11:50:18.426 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `s2` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:40:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 40 | let s2 = s1; Oct 12 11:50:18.426 INFO kablam! | ^^ help: consider using `_s2` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `s1` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:68:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 68 | let s1 = gives_ownership(); // gives_ownership moves its return Oct 12 11:50:18.426 INFO kablam! | ^^ help: consider using `_s1` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:98:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 98 | let r1 = &mut s2; Oct 12 11:50:18.426 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `r3` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:107:13 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 107 | let r3 = &mut s3; Oct 12 11:50:18.426 INFO kablam! | ^^ help: consider using `_r3` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `r4` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:110:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 110 | let r4 = &mut s3; Oct 12 11:50:18.426 INFO kablam! | ^^ help: consider using `_r4` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:113:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 113 | let r1 = &s; // immutable ref Oct 12 11:50:18.426 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `r2` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:114:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 114 | let r2 = &s; // second because as many refs can read the same data safely Oct 12 11:50:18.426 INFO kablam! | ^^ help: consider using `_r2` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:140:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.426 INFO kablam! 140 | let slice = &s[0..2]; // same Oct 12 11:50:18.426 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.426 INFO kablam! Oct 12 11:50:18.426 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.426 INFO kablam! --> src/main.rs:141:9 Oct 12 11:50:18.426 INFO kablam! | Oct 12 11:50:18.427 INFO kablam! 141 | let slice = &s[..2]; // same Oct 12 11:50:18.427 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.427 INFO kablam! Oct 12 11:50:18.427 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.427 INFO kablam! --> src/main.rs:145:9 Oct 12 11:50:18.427 INFO kablam! | Oct 12 11:50:18.427 INFO kablam! 145 | let slice = &s[2..len]; // same Oct 12 11:50:18.427 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.427 INFO kablam! Oct 12 11:50:18.427 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.427 INFO kablam! --> src/main.rs:146:9 Oct 12 11:50:18.427 INFO kablam! | Oct 12 11:50:18.427 INFO kablam! 146 | let slice = &s[2..]; // same Oct 12 11:50:18.427 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.427 INFO kablam! Oct 12 11:50:18.427 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.427 INFO kablam! --> src/main.rs:148:9 Oct 12 11:50:18.427 INFO kablam! | Oct 12 11:50:18.427 INFO kablam! 148 | let slice = &s[0..len]; // same Oct 12 11:50:18.427 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.427 INFO kablam! Oct 12 11:50:18.427 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.427 INFO kablam! --> src/main.rs:149:9 Oct 12 11:50:18.427 INFO kablam! | Oct 12 11:50:18.427 INFO kablam! 149 | let slice = &s[..]; // same Oct 12 11:50:18.427 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.427 INFO kablam! Oct 12 11:50:18.427 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:18.427 INFO kablam! --> src/main.rs:166:9 Oct 12 11:50:18.427 INFO kablam! | Oct 12 11:50:18.427 INFO kablam! 166 | let slice = &a[0..2]; Oct 12 11:50:18.427 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:18.427 INFO kablam! Oct 12 11:50:18.437 INFO kablam! warning: variable does not need to be mutable Oct 12 11:50:18.437 INFO kablam! --> src/main.rs:112:9 Oct 12 11:50:18.437 INFO kablam! | Oct 12 11:50:18.437 INFO kablam! 112 | let mut s = String::from("hello s"); Oct 12 11:50:18.437 INFO kablam! | ----^ Oct 12 11:50:18.437 INFO kablam! | | Oct 12 11:50:18.437 INFO kablam! | help: remove this `mut` Oct 12 11:50:18.437 INFO kablam! | Oct 12 11:50:18.437 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 11:50:18.437 INFO kablam! Oct 12 11:50:18.488 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.39s Oct 12 11:50:18.491 INFO kablam! su: No module specific data is present Oct 12 11:50:19.036 INFO running `"docker" "rm" "-f" "51f1284b48502fb12ed1a88bc3fa9a1951b646b8b1647e1a55c1e2052ac5e6c3"` Oct 12 11:50:19.315 INFO blam! 51f1284b48502fb12ed1a88bc3fa9a1951b646b8b1647e1a55c1e2052ac5e6c3