[INFO] cloning repository https://github.com/initinll-rust/learning-smart-pointers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/initinll-rust/learning-smart-pointers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-smart-pointers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-smart-pointers'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-smart-pointers: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/initinll-rust/learning-smart-pointers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/initinll-rust/learning-smart-pointers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-smart-pointers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-smart-pointers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d22c3b011e83076e16c4af782407234799c1934 [INFO] testing initinll-rust/learning-smart-pointers against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-smart-pointers" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/initinll-rust/learning-smart-pointers on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/initinll-rust/learning-smart-pointers [INFO] finished tweaking git repo https://github.com/initinll-rust/learning-smart-pointers [INFO] tweaked toml for git repo https://github.com/initinll-rust/learning-smart-pointers written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/initinll-rust/learning-smart-pointers 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f33544028f100dfdef3691105589fcec046a1b2d796a0663881c1b9313cdb2bf [INFO] running `Command { std: "docker" "start" "-a" "f33544028f100dfdef3691105589fcec046a1b2d796a0663881c1b9313cdb2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f33544028f100dfdef3691105589fcec046a1b2d796a0663881c1b9313cdb2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33544028f100dfdef3691105589fcec046a1b2d796a0663881c1b9313cdb2bf", kill_on_drop: false }` [INFO] [stdout] f33544028f100dfdef3691105589fcec046a1b2d796a0663881c1b9313cdb2bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d38750cbbc22c1af34187c56ae7f3ebf8a0a618d783934a8e84f0018a49e5c4 [INFO] running `Command { std: "docker" "start" "-a" "0d38750cbbc22c1af34187c56ae7f3ebf8a0a618d783934a8e84f0018a49e5c4", kill_on_drop: false }` [INFO] [stderr] Compiling learning-smart-pointers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/single_threaded/smart_pointer_box_concepts.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Cons(i32, Box), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 29 - Cons(i32, Box), [INFO] [stdout] 29 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/single_threaded/smart_pointer_rc_concepts.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 43 - Cons(i32, Rc), [INFO] [stdout] 43 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> src/single_threaded/smart_pointer_rc_weak_prevent_reference_cycles_concepts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | value: i32, // value of the node [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | parent: RefCell>, // a node has single parent, weak reference as child should not own its parent [INFO] [stdout] 12 | children: RefCell>> // a node can have multiple children, strong reference as parent should own its children [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "0d38750cbbc22c1af34187c56ae7f3ebf8a0a618d783934a8e84f0018a49e5c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d38750cbbc22c1af34187c56ae7f3ebf8a0a618d783934a8e84f0018a49e5c4", kill_on_drop: false }` [INFO] [stdout] 0d38750cbbc22c1af34187c56ae7f3ebf8a0a618d783934a8e84f0018a49e5c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b13980c1d12f1d23c5263f1da006ae94cb919c4b37b57234de88e8561215478 [INFO] running `Command { std: "docker" "start" "-a" "3b13980c1d12f1d23c5263f1da006ae94cb919c4b37b57234de88e8561215478", kill_on_drop: false }` [INFO] [stderr] Compiling learning-smart-pointers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/single_threaded/smart_pointer_box_concepts.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Cons(i32, Box), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 29 - Cons(i32, Box), [INFO] [stdout] 29 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/single_threaded/smart_pointer_rc_concepts.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 43 - Cons(i32, Rc), [INFO] [stdout] 43 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> src/single_threaded/smart_pointer_rc_weak_prevent_reference_cycles_concepts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | value: i32, // value of the node [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | parent: RefCell>, // a node has single parent, weak reference as child should not own its parent [INFO] [stdout] 12 | children: RefCell>> // a node can have multiple children, strong reference as parent should own its children [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "3b13980c1d12f1d23c5263f1da006ae94cb919c4b37b57234de88e8561215478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b13980c1d12f1d23c5263f1da006ae94cb919c4b37b57234de88e8561215478", kill_on_drop: false }` [INFO] [stdout] 3b13980c1d12f1d23c5263f1da006ae94cb919c4b37b57234de88e8561215478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57fc95ec7c9ca9fa0aa2cc5c75726c193497edc5a0e088cbed170fecc6baaea8 [INFO] running `Command { std: "docker" "start" "-a" "57fc95ec7c9ca9fa0aa2cc5c75726c193497edc5a0e088cbed170fecc6baaea8", kill_on_drop: false }` [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/single_threaded/smart_pointer_box_concepts.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | Cons(i32, Box), [INFO] [stderr] | ---- ^^^ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 29 - Cons(i32, Box), [INFO] [stderr] 29 + Cons((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/single_threaded/smart_pointer_rc_concepts.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | Cons(i32, Rc), [INFO] [stderr] | ---- ^^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 43 - Cons(i32, Rc), [INFO] [stderr] 43 + Cons((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `value` and `children` are never read [INFO] [stderr] --> src/single_threaded/smart_pointer_rc_weak_prevent_reference_cycles_concepts.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Node { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 10 | value: i32, // value of the node [INFO] [stderr] | ^^^^^ [INFO] [stderr] 11 | parent: RefCell>, // a node has single parent, weak reference as child should not own its parent [INFO] [stderr] 12 | children: RefCell>> // a node can have multiple children, strong reference as parent should own its children [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `learning-smart-pointers` (bin "learning-smart-pointers" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learning_smart_pointers-96d210e64b22eabf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "57fc95ec7c9ca9fa0aa2cc5c75726c193497edc5a0e088cbed170fecc6baaea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fc95ec7c9ca9fa0aa2cc5c75726c193497edc5a0e088cbed170fecc6baaea8", kill_on_drop: false }` [INFO] [stdout] 57fc95ec7c9ca9fa0aa2cc5c75726c193497edc5a0e088cbed170fecc6baaea8