Sep 04 19:38:44.481 INFO checking discard-1.0.3 against try#6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0 for pr-53893 Sep 04 19:38:44.481 INFO running: cargo +6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0-alt check --frozen --all --all-targets Sep 04 19:38:44.481 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53893/try#6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53893/worker-0/try#6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0:/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 +6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Sep 04 19:38:44.690 INFO blam! 85b2aa8d8d6cc3d166f6883ada229a00905315c4787767892b6941b9f76b34ca Sep 04 19:38:44.693 INFO running `"docker" "start" "-a" "85b2aa8d8d6cc3d166f6883ada229a00905315c4787767892b6941b9f76b34ca"` Sep 04 19:38:45.311 INFO kablam! Checking discard v1.0.3 (file:///source) Sep 04 19:38:46.350 INFO kablam! warning: unused `DiscardOnDrop` which must be used Sep 04 19:38:46.350 INFO kablam! --> src/lib.rs:251:9 Sep 04 19:38:46.350 INFO kablam! | Sep 04 19:38:46.351 INFO kablam! 251 | DiscardOnDrop::new(Foo::new()); Sep 04 19:38:46.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 04 19:38:46.351 INFO kablam! | Sep 04 19:38:46.351 INFO kablam! = note: #[warn(unused_must_use)] on by default Sep 04 19:38:46.351 INFO kablam! = note: Sep 04 19:38:46.351 INFO kablam! Sep 04 19:38:46.351 INFO kablam! The DiscardOnDrop is unused, which causes it to be immediately discarded. Sep 04 19:38:46.351 INFO kablam! You probably don't want that to happen. Sep 04 19:38:46.351 INFO kablam! Sep 04 19:38:46.351 INFO kablam! How to fix this: Sep 04 19:38:46.351 INFO kablam! Sep 04 19:38:46.351 INFO kablam! * Store the DiscardOnDrop in a variable or data structure. Sep 04 19:38:46.351 INFO kablam! Sep 04 19:38:46.351 INFO kablam! * Or use the DiscardOnDrop::leak function which will cause it to not be Sep 04 19:38:46.351 INFO kablam! discarded (this *will* leak memory!). Sep 04 19:38:46.351 INFO kablam! Sep 04 19:38:46.351 INFO kablam! See the documentation for more details. Sep 04 19:38:46.351 INFO kablam! Sep 04 19:38:46.351 INFO kablam! Sep 04 19:38:46.369 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.08s Sep 04 19:38:46.372 INFO kablam! su: No module specific data is present Sep 04 19:38:46.812 INFO running `"docker" "rm" "-f" "85b2aa8d8d6cc3d166f6883ada229a00905315c4787767892b6941b9f76b34ca"` Sep 04 19:38:46.938 INFO blam! 85b2aa8d8d6cc3d166f6883ada229a00905315c4787767892b6941b9f76b34ca