Aug 30 19:37:10.198 INFO checking discard-1.0.3 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 30 19:37:10.198 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 30 19:37:10.198 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-2/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-2/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/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 +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 19:37:10.410 INFO blam! 56372d1b30ff07419d71ffbce06ef48f96b99e81a4af368584ce7702a2956ff6 Aug 30 19:37:10.412 INFO running `"docker" "start" "-a" "56372d1b30ff07419d71ffbce06ef48f96b99e81a4af368584ce7702a2956ff6"` Aug 30 19:37:11.106 INFO kablam! Checking discard v1.0.3 (file:///source) Aug 30 19:37:11.965 INFO kablam! warning: unused `DiscardOnDrop` which must be used Aug 30 19:37:11.966 INFO kablam! --> src/lib.rs:251:9 Aug 30 19:37:11.966 INFO kablam! | Aug 30 19:37:11.966 INFO kablam! 251 | DiscardOnDrop::new(Foo::new()); Aug 30 19:37:11.966 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 19:37:11.966 INFO kablam! | Aug 30 19:37:11.966 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 19:37:11.966 INFO kablam! = note: Aug 30 19:37:11.966 INFO kablam! Aug 30 19:37:11.966 INFO kablam! The DiscardOnDrop is unused, which causes it to be immediately discarded. Aug 30 19:37:11.966 INFO kablam! You probably don't want that to happen. Aug 30 19:37:11.966 INFO kablam! Aug 30 19:37:11.966 INFO kablam! How to fix this: Aug 30 19:37:11.966 INFO kablam! Aug 30 19:37:11.966 INFO kablam! * Store the DiscardOnDrop in a variable or data structure. Aug 30 19:37:11.966 INFO kablam! Aug 30 19:37:11.967 INFO kablam! * Or use the DiscardOnDrop::leak function which will cause it to not be Aug 30 19:37:11.967 INFO kablam! discarded (this *will* leak memory!). Aug 30 19:37:11.967 INFO kablam! Aug 30 19:37:11.967 INFO kablam! See the documentation for more details. Aug 30 19:37:11.967 INFO kablam! Aug 30 19:37:11.967 INFO kablam! Aug 30 19:37:11.984 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.89s Aug 30 19:37:11.987 INFO kablam! su: No module specific data is present Aug 30 19:37:12.482 INFO running `"docker" "rm" "-f" "56372d1b30ff07419d71ffbce06ef48f96b99e81a4af368584ce7702a2956ff6"` Aug 30 19:37:12.582 INFO blam! 56372d1b30ff07419d71ffbce06ef48f96b99e81a4af368584ce7702a2956ff6