Oct 12 11:50:15.412 INFO checking tperdue321/rust_ownership against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 12 11:50:15.414 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-1/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/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 +4021bd0b3c5815b087d6db10ce461e7e4854ade7-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.030 INFO blam! 66307ce30f2b87421fcfbe71d57516eaee9858bb5ba3b0b265a18285397f118d Oct 12 11:50:16.040 INFO running `"docker" "start" "-a" "66307ce30f2b87421fcfbe71d57516eaee9858bb5ba3b0b265a18285397f118d"` Oct 12 11:50:17.241 INFO kablam! usermod: no changes Oct 12 11:50:17.283 INFO kablam! Checking ownership v0.1.0 (/source) Oct 12 11:50:17.587 INFO kablam! warning: unused variable: `string` Oct 12 11:50:17.587 INFO kablam! --> src/main.rs:13:13 Oct 12 11:50:17.587 INFO kablam! | Oct 12 11:50:17.588 INFO kablam! 13 | let string = "hello"; // string is valid from here forward Oct 12 11:50:17.588 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 12 11:50:17.588 INFO kablam! | Oct 12 11:50:17.588 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 11:50:17.588 INFO kablam! Oct 12 11:50:17.588 INFO kablam! warning: unused variable: `s2` Oct 12 11:50:17.588 INFO kablam! --> src/main.rs:40:9 Oct 12 11:50:17.589 INFO kablam! | Oct 12 11:50:17.589 INFO kablam! 40 | let s2 = s1; Oct 12 11:50:17.589 INFO kablam! | ^^ help: consider using `_s2` instead Oct 12 11:50:17.589 INFO kablam! Oct 12 11:50:17.589 INFO kablam! warning: unused variable: `s1` Oct 12 11:50:17.589 INFO kablam! --> src/main.rs:68:9 Oct 12 11:50:17.590 INFO kablam! | Oct 12 11:50:17.590 INFO kablam! 68 | let s1 = gives_ownership(); // gives_ownership moves its return Oct 12 11:50:17.590 INFO kablam! | ^^ help: consider using `_s1` instead Oct 12 11:50:17.590 INFO kablam! Oct 12 11:50:17.590 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:17.590 INFO kablam! --> src/main.rs:98:9 Oct 12 11:50:17.590 INFO kablam! | Oct 12 11:50:17.591 INFO kablam! 98 | let r1 = &mut s2; Oct 12 11:50:17.591 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:17.591 INFO kablam! Oct 12 11:50:17.591 INFO kablam! warning: unused variable: `r3` Oct 12 11:50:17.591 INFO kablam! --> src/main.rs:107:13 Oct 12 11:50:17.591 INFO kablam! | Oct 12 11:50:17.591 INFO kablam! 107 | let r3 = &mut s3; Oct 12 11:50:17.592 INFO kablam! | ^^ help: consider using `_r3` instead Oct 12 11:50:17.592 INFO kablam! Oct 12 11:50:17.592 INFO kablam! warning: unused variable: `r4` Oct 12 11:50:17.592 INFO kablam! --> src/main.rs:110:9 Oct 12 11:50:17.592 INFO kablam! | Oct 12 11:50:17.592 INFO kablam! 110 | let r4 = &mut s3; Oct 12 11:50:17.593 INFO kablam! | ^^ help: consider using `_r4` instead Oct 12 11:50:17.593 INFO kablam! Oct 12 11:50:17.593 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:17.593 INFO kablam! --> src/main.rs:113:9 Oct 12 11:50:17.593 INFO kablam! | Oct 12 11:50:17.593 INFO kablam! 113 | let r1 = &s; // immutable ref Oct 12 11:50:17.593 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:17.594 INFO kablam! Oct 12 11:50:17.594 INFO kablam! warning: unused variable: `r2` Oct 12 11:50:17.594 INFO kablam! --> src/main.rs:114:9 Oct 12 11:50:17.594 INFO kablam! | Oct 12 11:50:17.594 INFO kablam! 114 | let r2 = &s; // second because as many refs can read the same data safely Oct 12 11:50:17.595 INFO kablam! | ^^ help: consider using `_r2` instead Oct 12 11:50:17.595 INFO kablam! Oct 12 11:50:17.595 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.596 INFO kablam! --> src/main.rs:140:9 Oct 12 11:50:17.596 INFO kablam! | Oct 12 11:50:17.596 INFO kablam! 140 | let slice = &s[0..2]; // same Oct 12 11:50:17.596 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.597 INFO kablam! Oct 12 11:50:17.597 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.597 INFO kablam! --> src/main.rs:141:9 Oct 12 11:50:17.597 INFO kablam! | Oct 12 11:50:17.598 INFO kablam! 141 | let slice = &s[..2]; // same Oct 12 11:50:17.598 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.598 INFO kablam! Oct 12 11:50:17.598 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.599 INFO kablam! --> src/main.rs:145:9 Oct 12 11:50:17.599 INFO kablam! | Oct 12 11:50:17.599 INFO kablam! 145 | let slice = &s[2..len]; // same Oct 12 11:50:17.599 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.600 INFO kablam! Oct 12 11:50:17.604 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.604 INFO kablam! --> src/main.rs:146:9 Oct 12 11:50:17.605 INFO kablam! | Oct 12 11:50:17.605 INFO kablam! 146 | let slice = &s[2..]; // same Oct 12 11:50:17.605 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.605 INFO kablam! Oct 12 11:50:17.606 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.606 INFO kablam! --> src/main.rs:148:9 Oct 12 11:50:17.606 INFO kablam! | Oct 12 11:50:17.606 INFO kablam! 148 | let slice = &s[0..len]; // same Oct 12 11:50:17.607 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.607 INFO kablam! Oct 12 11:50:17.607 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.607 INFO kablam! --> src/main.rs:149:9 Oct 12 11:50:17.608 INFO kablam! | Oct 12 11:50:17.608 INFO kablam! 149 | let slice = &s[..]; // same Oct 12 11:50:17.608 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.608 INFO kablam! Oct 12 11:50:17.609 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.609 INFO kablam! --> src/main.rs:166:9 Oct 12 11:50:17.609 INFO kablam! | Oct 12 11:50:17.609 INFO kablam! 166 | let slice = &a[0..2]; Oct 12 11:50:17.610 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.610 INFO kablam! Oct 12 11:50:17.610 INFO kablam! warning: variable does not need to be mutable Oct 12 11:50:17.610 INFO kablam! --> src/main.rs:112:9 Oct 12 11:50:17.611 INFO kablam! | Oct 12 11:50:17.611 INFO kablam! 112 | let mut s = String::from("hello s"); Oct 12 11:50:17.611 INFO kablam! | ----^ Oct 12 11:50:17.611 INFO kablam! | | Oct 12 11:50:17.612 INFO kablam! | help: remove this `mut` Oct 12 11:50:17.612 INFO kablam! | Oct 12 11:50:17.612 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 11:50:17.612 INFO kablam! Oct 12 11:50:17.664 INFO kablam! warning: unused variable: `string` Oct 12 11:50:17.664 INFO kablam! --> src/main.rs:13:13 Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! 13 | let string = "hello"; // string is valid from here forward Oct 12 11:50:17.664 INFO kablam! | ^^^^^^ help: consider using `_string` instead Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 11:50:17.664 INFO kablam! Oct 12 11:50:17.664 INFO kablam! warning: unused variable: `s2` Oct 12 11:50:17.664 INFO kablam! --> src/main.rs:40:9 Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! 40 | let s2 = s1; Oct 12 11:50:17.664 INFO kablam! | ^^ help: consider using `_s2` instead Oct 12 11:50:17.664 INFO kablam! Oct 12 11:50:17.664 INFO kablam! warning: unused variable: `s1` Oct 12 11:50:17.664 INFO kablam! --> src/main.rs:68:9 Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! 68 | let s1 = gives_ownership(); // gives_ownership moves its return Oct 12 11:50:17.664 INFO kablam! | ^^ help: consider using `_s1` instead Oct 12 11:50:17.664 INFO kablam! Oct 12 11:50:17.664 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:17.664 INFO kablam! --> src/main.rs:98:9 Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! 98 | let r1 = &mut s2; Oct 12 11:50:17.664 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:17.664 INFO kablam! Oct 12 11:50:17.664 INFO kablam! warning: unused variable: `r3` Oct 12 11:50:17.664 INFO kablam! --> src/main.rs:107:13 Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! 107 | let r3 = &mut s3; Oct 12 11:50:17.664 INFO kablam! | ^^ help: consider using `_r3` instead Oct 12 11:50:17.664 INFO kablam! Oct 12 11:50:17.664 INFO kablam! warning: unused variable: `r4` Oct 12 11:50:17.664 INFO kablam! --> src/main.rs:110:9 Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! 110 | let r4 = &mut s3; Oct 12 11:50:17.664 INFO kablam! | ^^ help: consider using `_r4` instead Oct 12 11:50:17.664 INFO kablam! Oct 12 11:50:17.664 INFO kablam! warning: unused variable: `r1` Oct 12 11:50:17.664 INFO kablam! --> src/main.rs:113:9 Oct 12 11:50:17.664 INFO kablam! | Oct 12 11:50:17.664 INFO kablam! 113 | let r1 = &s; // immutable ref Oct 12 11:50:17.665 INFO kablam! | ^^ help: consider using `_r1` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `r2` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:114:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 114 | let r2 = &s; // second because as many refs can read the same data safely Oct 12 11:50:17.665 INFO kablam! | ^^ help: consider using `_r2` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:140:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 140 | let slice = &s[0..2]; // same Oct 12 11:50:17.665 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:141:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 141 | let slice = &s[..2]; // same Oct 12 11:50:17.665 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:145:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 145 | let slice = &s[2..len]; // same Oct 12 11:50:17.665 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:146:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 146 | let slice = &s[2..]; // same Oct 12 11:50:17.665 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:148:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 148 | let slice = &s[0..len]; // same Oct 12 11:50:17.665 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:149:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 149 | let slice = &s[..]; // same Oct 12 11:50:17.665 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.665 INFO kablam! warning: unused variable: `slice` Oct 12 11:50:17.665 INFO kablam! --> src/main.rs:166:9 Oct 12 11:50:17.665 INFO kablam! | Oct 12 11:50:17.665 INFO kablam! 166 | let slice = &a[0..2]; Oct 12 11:50:17.665 INFO kablam! | ^^^^^ help: consider using `_slice` instead Oct 12 11:50:17.665 INFO kablam! Oct 12 11:50:17.680 INFO kablam! warning: variable does not need to be mutable Oct 12 11:50:17.680 INFO kablam! --> src/main.rs:112:9 Oct 12 11:50:17.680 INFO kablam! | Oct 12 11:50:17.680 INFO kablam! 112 | let mut s = String::from("hello s"); Oct 12 11:50:17.680 INFO kablam! | ----^ Oct 12 11:50:17.680 INFO kablam! | | Oct 12 11:50:17.680 INFO kablam! | help: remove this `mut` Oct 12 11:50:17.680 INFO kablam! | Oct 12 11:50:17.680 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 11:50:17.680 INFO kablam! Oct 12 11:50:17.716 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.45s Oct 12 11:50:17.736 INFO kablam! su: No module specific data is present Oct 12 11:50:18.364 INFO running `"docker" "rm" "-f" "66307ce30f2b87421fcfbe71d57516eaee9858bb5ba3b0b265a18285397f118d"` Oct 12 11:50:18.641 INFO blam! 66307ce30f2b87421fcfbe71d57516eaee9858bb5ba3b0b265a18285397f118d