[INFO] fetching crate discard 1.0.4... [INFO] checking discard-1.0.4 against try#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] extracting crate discard 1.0.4 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate discard 1.0.4 on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate discard 1.0.4 [INFO] finished tweaking crates.io crate discard 1.0.4 [INFO] tweaked toml for crates.io crate discard 1.0.4 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f046f255f38d324c73d36131964fbfa342706376d82220de18bb664c474e509f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f046f255f38d324c73d36131964fbfa342706376d82220de18bb664c474e509f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f046f255f38d324c73d36131964fbfa342706376d82220de18bb664c474e509f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f046f255f38d324c73d36131964fbfa342706376d82220de18bb664c474e509f", kill_on_drop: false }` [INFO] [stdout] f046f255f38d324c73d36131964fbfa342706376d82220de18bb664c474e509f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c5286aa4733f7f816954b987b3ace93c75ecc93e63a78ff6e588125ee775875 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9c5286aa4733f7f816954b987b3ace93c75ecc93e63a78ff6e588125ee775875", kill_on_drop: false }` [INFO] [stderr] Checking discard v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `DiscardOnDrop` that must be used [INFO] [stdout] --> src/lib.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | DiscardOnDrop::new(Foo::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: [INFO] [stdout] The DiscardOnDrop is unused, which causes it to be immediately discarded. [INFO] [stdout] You probably don't want that to happen. [INFO] [stdout] [INFO] [stdout] How to fix this: [INFO] [stdout] [INFO] [stdout] * Store the DiscardOnDrop in a variable or data structure. [INFO] [stdout] [INFO] [stdout] * Or use the DiscardOnDrop::leak function which will cause it to not be [INFO] [stdout] discarded (this *will* leak memory!). [INFO] [stdout] [INFO] [stdout] See the DiscardOnDrop documentation for more details. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `DiscardOnDrop` that must be used [INFO] [stdout] --> src/lib.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | DiscardOnDrop::new(Foo::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: [INFO] [stdout] The DiscardOnDrop is unused, which causes it to be immediately discarded. [INFO] [stdout] You probably don't want that to happen. [INFO] [stdout] [INFO] [stdout] How to fix this: [INFO] [stdout] [INFO] [stdout] * Store the DiscardOnDrop in a variable or data structure. [INFO] [stdout] [INFO] [stdout] * Or use the DiscardOnDrop::leak function which will cause it to not be [INFO] [stdout] discarded (this *will* leak memory!). [INFO] [stdout] [INFO] [stdout] See the DiscardOnDrop documentation for more details. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "9c5286aa4733f7f816954b987b3ace93c75ecc93e63a78ff6e588125ee775875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5286aa4733f7f816954b987b3ace93c75ecc93e63a78ff6e588125ee775875", kill_on_drop: false }` [INFO] [stdout] 9c5286aa4733f7f816954b987b3ace93c75ecc93e63a78ff6e588125ee775875