[INFO] cloning repository https://github.com/jracollins/serde-memory-leak-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jracollins/serde-memory-leak-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjracollins%2Fserde-memory-leak-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjracollins%2Fserde-memory-leak-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7dacf0ca69fb33a0c6382f96b0a6dcf36e089d1 [INFO] checking jracollins/serde-memory-leak-example against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjracollins%2Fserde-memory-leak-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-1-tc2/source': No space left on device [INFO] checking jracollins/serde-memory-leak-example against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjracollins%2Fserde-memory-leak-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jracollins/serde-memory-leak-example on toolchain ef5216c337126ffe24d074826f4023948c4a9b8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jracollins/serde-memory-leak-example [INFO] finished tweaking git repo https://github.com/jracollins/serde-memory-leak-example [INFO] tweaked toml for git repo https://github.com/jracollins/serde-memory-leak-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jracollins/serde-memory-leak-example 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" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2894f39ba268a2998cc1947b08df2df77953a2291b7593d24e2fa8d3f1e4b273 [INFO] running `Command { std: "docker" "start" "-a" "2894f39ba268a2998cc1947b08df2df77953a2291b7593d24e2fa8d3f1e4b273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2894f39ba268a2998cc1947b08df2df77953a2291b7593d24e2fa8d3f1e4b273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2894f39ba268a2998cc1947b08df2df77953a2291b7593d24e2fa8d3f1e4b273", kill_on_drop: false }` [INFO] [stdout] 2894f39ba268a2998cc1947b08df2df77953a2291b7593d24e2fa8d3f1e4b273 [INFO] checking jracollins/serde-memory-leak-example against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjracollins%2Fserde-memory-leak-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jracollins/serde-memory-leak-example on toolchain ef5216c337126ffe24d074826f4023948c4a9b8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jracollins/serde-memory-leak-example [INFO] finished tweaking git repo https://github.com/jracollins/serde-memory-leak-example [INFO] tweaked toml for git repo https://github.com/jracollins/serde-memory-leak-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jracollins/serde-memory-leak-example 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" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edcdfa8e89416ee9aff162104168c36b8e834c139b47ce751236c20518d99b42 [INFO] running `Command { std: "docker" "start" "-a" "edcdfa8e89416ee9aff162104168c36b8e834c139b47ce751236c20518d99b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edcdfa8e89416ee9aff162104168c36b8e834c139b47ce751236c20518d99b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edcdfa8e89416ee9aff162104168c36b8e834c139b47ce751236c20518d99b42", kill_on_drop: false }` [INFO] [stdout] edcdfa8e89416ee9aff162104168c36b8e834c139b47ce751236c20518d99b42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bd0409b905754cf327380d03492f9a5e9be05f5526dc1b10d0c1ae09b7c5424 [INFO] running `Command { std: "docker" "start" "-a" "2bd0409b905754cf327380d03492f9a5e9be05f5526dc1b10d0c1ae09b7c5424", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking memory-leak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ExampleEnum` [INFO] [stdout] --> examples/write_data_struct.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use memory_leak::{ExampleEnum, ExampleStructA}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> examples/write_data_struct.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time::Duration` [INFO] [stdout] --> examples/write_data_struct.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExampleEnum` and `ExampleStructB` [INFO] [stdout] --> examples/read_deserialize_struct.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use memory_leak::{ExampleEnum, ExampleStructA, ExampleStructB}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExampleStructA` and `ExampleStructB` [INFO] [stdout] --> examples/read_deserialize_enum.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use memory_leak::{ExampleEnum, ExampleStructA, ExampleStructB}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExampleEnum` [INFO] [stdout] --> examples/write_data_struct_multiple.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use memory_leak::{ExampleEnum, ExampleStructA}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> examples/write_data_struct_multiple.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time::Duration` [INFO] [stdout] --> examples/write_data_struct_multiple.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExampleEnum` and `ExampleStructB` [INFO] [stdout] --> examples/read_deserialize_struct_multiple.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use memory_leak::{ExampleEnum, ExampleStructA, ExampleStructB}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> examples/read_deserialize_struct_multiple.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> examples/read_deserialize_struct.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | s = String::from(""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> examples/read_deserialize_struct.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | s = String::from(""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> examples/read_deserialize_enum.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | s = String::from(""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/write_data_struct_multiple.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..random_item_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/read_deserialize_struct_multiple.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut s = read_to_string(path).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/read_deserialize_struct_multiple.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut file: Vec = serde_json::from_str(&s).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file_as_string` is never read [INFO] [stdout] --> examples/read_string.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | file_as_string = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> examples/write_data_enum.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time::Duration` [INFO] [stdout] --> examples/write_data_enum.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.80s [INFO] running `Command { std: "docker" "inspect" "2bd0409b905754cf327380d03492f9a5e9be05f5526dc1b10d0c1ae09b7c5424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd0409b905754cf327380d03492f9a5e9be05f5526dc1b10d0c1ae09b7c5424", kill_on_drop: false }` [INFO] [stdout] 2bd0409b905754cf327380d03492f9a5e9be05f5526dc1b10d0c1ae09b7c5424