[INFO] cloning repository https://github.com/KermitPurple/rust_data_structures
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KermitPurple/rust_data_structures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermitPurple%2Frust_data_structures", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermitPurple%2Frust_data_structures'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5be314feed32418ba84db0e5602462e7d2aeaf6b
[INFO] checking KermitPurple/rust_data_structures against try#b66808126f24f2f30898306a881e1676824ea80c for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermitPurple%2Frust_data_structures" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KermitPurple/rust_data_structures
[INFO] finished tweaking git repo https://github.com/KermitPurple/rust_data_structures
[INFO] tweaked toml for git repo https://github.com/KermitPurple/rust_data_structures written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KermitPurple/rust_data_structures on toolchain b66808126f24f2f30898306a881e1676824ea80c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KermitPurple/rust_data_structures already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367
[INFO] running `Command { std: "docker" "start" "28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367", 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" "28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367", 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" "28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking data_structures v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/stack.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> src/queue.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl<T> Queue<T> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `len` and `is_empty` are never used
[INFO] [stdout]   --> src/dynamic_array.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl<T> DynamicArray<T> {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/stack.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> src/queue.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl<T> Queue<T> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `len` and `is_empty` are never used
[INFO] [stdout]   --> src/dynamic_array.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl<T> DynamicArray<T> {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec<T>` is dropped at end of statement
[INFO] [stdout]   --> src/dynamic_array.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 |             vals: Vec::with_capacity(capacity).as_mut_ptr(),
[INFO] [stdout]    |                   ---------------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this `Vec<T>` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `Vec<T>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec<T>` is dropped at end of statement
[INFO] [stdout]   --> src/dynamic_array.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 |             vals: Vec::with_capacity(capacity).as_mut_ptr(),
[INFO] [stdout]    |                   ---------------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this `Vec<T>` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `Vec<T>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec<T>` is dropped at end of statement
[INFO] [stdout]   --> src/dynamic_array.rs:19:65
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let ptr: *mut T = Vec::with_capacity(self.capacity).as_mut_ptr();
[INFO] [stdout]    |                               --------------------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               this `Vec<T>` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `Vec<T>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec<T>` is dropped at end of statement
[INFO] [stdout]   --> src/dynamic_array.rs:19:65
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let ptr: *mut T = Vec::with_capacity(self.capacity).as_mut_ptr();
[INFO] [stdout]    |                               --------------------------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               this `Vec<T>` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `Vec<T>` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367", kill_on_drop: false }`
[INFO] [stdout] 28a1bec18a27797e3e61043da4b6b56a01132ffbf37868b78e466787c0a40367
