[INFO] cloning repository https://github.com/noorulislam770/rust-memory-management
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noorulislam770/rust-memory-management" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoorulislam770%2Frust-memory-management", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoorulislam770%2Frust-memory-management'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c70e0dc4e6c67d7e74a2c5d9321154bbda44814b
[INFO] testing noorulislam770/rust-memory-management against beta-2025-09-21 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoorulislam770%2Frust-memory-management" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/noorulislam770/rust-memory-management
[INFO] finished tweaking git repo https://github.com/noorulislam770/rust-memory-management
[INFO] tweaked toml for git repo https://github.com/noorulislam770/rust-memory-management written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/noorulislam770/rust-memory-management on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/noorulislam770/rust-memory-management 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 547d905ad67bafd144ca19a85770cf4c12047eafefac19c13635b248561aad6f
[INFO] running `Command { std: "docker" "start" "-a" "547d905ad67bafd144ca19a85770cf4c12047eafefac19c13635b248561aad6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "547d905ad67bafd144ca19a85770cf4c12047eafefac19c13635b248561aad6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "547d905ad67bafd144ca19a85770cf4c12047eafefac19c13635b248561aad6f", kill_on_drop: false }`
[INFO] [stdout] 547d905ad67bafd144ca19a85770cf4c12047eafefac19c13635b248561aad6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 373f3fe3a28eb7ab3efe133b88f4c6b6c4f86cf4cb1c4285cfcd062ca7ccc8e2
[INFO] running `Command { std: "docker" "start" "-a" "373f3fe3a28eb7ab3efe133b88f4c6b6c4f86cf4cb1c4285cfcd062ca7ccc8e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling memory_management v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `Green` and `Blue` are never constructed
[INFO] [stdout]  --> src/bin/implementation-activity.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Color {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     Red,
[INFO] [stdout] 3 |     Green, 
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     Blue 
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut dull = Light::Dull;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Bright` is never constructed
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Light {
[INFO] [stdout]   |      ----- variant in this enum
[INFO] [stdout] 2 |     Bright,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]   --> src/bin/generics-demo.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let numbers : Vec<i32> = vec![1,2,3];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `letter`
[INFO] [stdout]   --> src/bin/generics-demo.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let letter : Vec<char> = vec!['a','b','c','d','e','f','g','h','i','j'];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clicks`
[INFO] [stdout]   --> src/bin/generics-demo.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let clicks : Vec<Click>  = vec![Click::LeftClick,Click::RightClick,Click::MiddleClick];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clicks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `count` is never read
[INFO] [stdout]  --> src/bin/string-demo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct LineItem {
[INFO] [stdout]   |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 4 |     count : i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]  --> src/bin/documentation-demo.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Color{
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mail` is never constructed
[INFO] [stdout]  --> src/bin/documentation-demo.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Mail {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/bin/documentation-demo.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn add (a: i32, b: i32) -> i32 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `percent`
[INFO] [stdout]   --> src/bin/advanced-match-demo.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let percent = Discount::Percent(50);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percent`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/bin/advanced-match-demo.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         other => ()
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/bin/advanced-match-demo.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Percent(i32),
[INFO] [stdout]   |     ------- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 2 -     Percent(i32),
[INFO] [stdout] 2 +     Percent(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `standard_lib`
[INFO] [stdout]  --> src/bin/standard-lib.rs:1:2
[INFO] [stdout]   |
[INFO] [stdout] 1 |
[INFO] [stdout]   | ^ consider adding a `main` function to `src/bin/standard-lib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]  --> src/bin/type_annotations-demo.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn print_many(msg : &str, count : i32) {}
[INFO] [stdout]   |               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]  --> src/bin/type_annotations-demo.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn print_many(msg : &str, count : i32) {}
[INFO] [stdout]   |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/bin/type_annotations-demo.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let num : i32 = 23;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/bin/type_annotations-demo.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let a: char  = 'A';
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mark`
[INFO] [stdout]   --> src/bin/option-demo.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mark = Customer {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_mark`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `email` is never read
[INFO] [stdout]  --> src/bin/option-demo.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Customer { 
[INFO] [stdout]   |        -------- field in this struct
[INFO] [stdout] 2 |     age : Option<i32>,
[INFO] [stdout] 3 |     email : String, 
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_click`
[INFO] [stdout]   --> src/bin/type_annotations-demo.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let left_click : Mouse = Mouse::LeftClick;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let _left_click : Mouse = Mouse::LeftClick;
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `LeftClick`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     let left_click : Mouse = Mouse::LeftClick;
[INFO] [stdout] 13 +     let Mouse::LeftClick : Mouse = Mouse::LeftClick;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RightClick` and `MiddleClick` are never constructed
[INFO] [stdout]  --> src/bin/type_annotations-demo.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Mouse {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     LeftClick, 
[INFO] [stdout] 3 |     RightClick,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     MiddleClick,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_many` is never used
[INFO] [stdout]  --> src/bin/type_annotations-demo.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn print_many(msg : &str, count : i32) {}
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/bin/advanced-match-activity.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             other => ()
[INFO] [stdout]    |             ^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/bin/advanced-match-activity.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Ticket::Backstage( price, name) => println!("name : {} , price {}", name, price),
[INFO] [stdout]    |             ------------------------------- matches some of the same values
[INFO] [stdout] 18 |             Ticket::VIP( price, name) => println!("name : {} , price {}", name, price),
[INFO] [stdout]    |             ------------------------- matches some of the same values
[INFO] [stdout] 19 |             Ticket::Standard( price) => println!("price {}", price),
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] 20 |             other => ()
[INFO] [stdout]    |             ^^^^^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/bin/advanced-match-activity.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             other => ()
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memory_management` (bin "standard-lib") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `two`
[INFO] [stdout]   --> src/bin/vector-demo.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let two = my_numbers[1];
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_two`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "373f3fe3a28eb7ab3efe133b88f4c6b6c4f86cf4cb1c4285cfcd062ca7ccc8e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "373f3fe3a28eb7ab3efe133b88f4c6b6c4f86cf4cb1c4285cfcd062ca7ccc8e2", kill_on_drop: false }`
[INFO] [stdout] 373f3fe3a28eb7ab3efe133b88f4c6b6c4f86cf4cb1c4285cfcd062ca7ccc8e2
