[INFO] crate discard 1.0.4 is already in cache [INFO] extracting crate discard 1.0.4 into work/ex/pr-60444/sources/master#92b5e20ad59b183a2e6cd79423f54b8aa7ac9cbf/reg/discard/1.0.4 [INFO] extracting crate discard 1.0.4 into work/ex/pr-60444/sources/try#cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b/reg/discard/1.0.4 [INFO] validating manifest of discard-1.0.4 on toolchain master#92b5e20ad59b183a2e6cd79423f54b8aa7ac9cbf [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+92b5e20ad59b183a2e6cd79423f54b8aa7ac9cbf-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of discard-1.0.4 on toolchain try#cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing discard-1.0.4 [INFO] finished frobbing discard-1.0.4 [INFO] frobbed toml for discard-1.0.4 written to work/ex/pr-60444/sources/master#92b5e20ad59b183a2e6cd79423f54b8aa7ac9cbf/reg/discard/1.0.4/Cargo.toml [INFO] started frobbing discard-1.0.4 [INFO] finished frobbing discard-1.0.4 [INFO] frobbed toml for discard-1.0.4 written to work/ex/pr-60444/sources/try#cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b/reg/discard/1.0.4/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+92b5e20ad59b183a2e6cd79423f54b8aa7ac9cbf-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+92b5e20ad59b183a2e6cd79423f54b8aa7ac9cbf-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking discard-1.0.4 against try#cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b for pr-60444 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60444/worker-0/try#cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60444/sources/try#cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b/reg/discard/1.0.4:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+cf8e5a06b289fbcdaf75ca55c057b2cb09fff33b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 0ee51542c6d0f4f486b1a11870210b418c2a5ffe286259909d0556a03f284a96 [INFO] running `"docker" "start" "-a" "0ee51542c6d0f4f486b1a11870210b418c2a5ffe286259909d0556a03f284a96"` [INFO] [stderr] Checking discard v1.0.4 (/opt/crater/workdir) [INFO] [stderr] warning: unused `DiscardOnDrop` that must be used [INFO] [stderr] --> src/lib.rs:261:9 [INFO] [stderr] | [INFO] [stderr] 261 | DiscardOnDrop::new(Foo::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: [INFO] [stderr] The DiscardOnDrop is unused, which causes it to be immediately discarded. [INFO] [stderr] You probably don't want that to happen. [INFO] [stderr] [INFO] [stderr] How to fix this: [INFO] [stderr] [INFO] [stderr] * Store the DiscardOnDrop in a variable or data structure. [INFO] [stderr] [INFO] [stderr] * Or use the DiscardOnDrop::leak function which will cause it to not be [INFO] [stderr] discarded (this *will* leak memory!). [INFO] [stderr] [INFO] [stderr] See the DiscardOnDrop documentation for more details. [INFO] [stderr] [INFO] [stderr] warning: unused `DiscardOnDrop` that must be used [INFO] [stderr] --> src/lib.rs:262:9 [INFO] [stderr] | [INFO] [stderr] 262 | DiscardOnDrop::new(Foo::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: [INFO] [stderr] The DiscardOnDrop is unused, which causes it to be immediately discarded. [INFO] [stderr] You probably don't want that to happen. [INFO] [stderr] [INFO] [stderr] How to fix this: [INFO] [stderr] [INFO] [stderr] * Store the DiscardOnDrop in a variable or data structure. [INFO] [stderr] [INFO] [stderr] * Or use the DiscardOnDrop::leak function which will cause it to not be [INFO] [stderr] discarded (this *will* leak memory!). [INFO] [stderr] [INFO] [stderr] See the DiscardOnDrop documentation for more details. [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `"docker" "inspect" "0ee51542c6d0f4f486b1a11870210b418c2a5ffe286259909d0556a03f284a96"` [INFO] running `"docker" "rm" "-f" "0ee51542c6d0f4f486b1a11870210b418c2a5ffe286259909d0556a03f284a96"` [INFO] [stdout] 0ee51542c6d0f4f486b1a11870210b418c2a5ffe286259909d0556a03f284a96