[INFO] fetching crate login_cap 0.0.2...
[INFO] checking login_cap-0.0.2 against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] extracting crate login_cap 0.0.2 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate login_cap 0.0.2
[INFO] finished tweaking crates.io crate login_cap 0.0.2
[INFO] tweaked toml for crates.io crate login_cap 0.0.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate login_cap 0.0.2 on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 10 packages to highest compatible versions
[INFO] [stderr]       Adding bitflags v1.2.1 (available: v1.3.2)
[INFO] [stderr]       Adding nix v0.21.2 (available: v0.31.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded login_cap-sys v0.1.0
[INFO] [stderr]   Downloaded nix v0.21.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1
[INFO] running `Command { std: "docker" "start" "900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking login_cap-sys v0.1.0
[INFO] [stderr]     Checking nix v0.21.2
[INFO] [stderr]     Checking login_cap v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { CString::from_raw(path_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { let _ = CString::from_raw(path_ptr); };
[INFO] [stdout]    |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]    |              +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]     |                  +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:217:18
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:260:18
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:301:18
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             CString::from_raw(cap_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let _ = CString::from_raw(cap_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |             CString::from_raw(def_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 358 |             let _ = CString::from_raw(def_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:359:13
[INFO] [stdout]     |
[INFO] [stdout] 359 |             CString::from_raw(err_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 359 |             let _ = CString::from_raw(err_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:397:18
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { CString::from_raw(path_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { let _ = CString::from_raw(path_ptr); };
[INFO] [stdout]    |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]    |              +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]     |                  +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:217:18
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:260:18
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:301:18
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             CString::from_raw(cap_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let _ = CString::from_raw(cap_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |             CString::from_raw(def_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 358 |             let _ = CString::from_raw(def_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:359:13
[INFO] [stdout]     |
[INFO] [stdout] 359 |             CString::from_raw(err_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 359 |             let _ = CString::from_raw(err_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:397:18
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.44s
[INFO] running `Command { std: "docker" "inspect" "900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1", kill_on_drop: false }`
[INFO] [stdout] 900d71e332bc7bcb5c62545ccf760d1b776e14d6051ca4fcb4abd8e20f711ba1
