[INFO] cloning repository https://github.com/VArtzy/rust-lang-concept [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VArtzy/rust-lang-concept" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVArtzy%2Frust-lang-concept", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVArtzy%2Frust-lang-concept'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8f51befd0834ab6747ebbbdbcc8c7d28cd5b583 [INFO] checking VArtzy/rust-lang-concept against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVArtzy%2Frust-lang-concept" "/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/VArtzy/rust-lang-concept [INFO] finished tweaking git repo https://github.com/VArtzy/rust-lang-concept [INFO] tweaked toml for git repo https://github.com/VArtzy/rust-lang-concept written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VArtzy/rust-lang-concept on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VArtzy/rust-lang-concept 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "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/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07cc23274a796f0970bff38c83358f6055bb2848757888c8186ff98059780d94 [INFO] running `Command { std: "docker" "start" "-a" "07cc23274a796f0970bff38c83358f6055bb2848757888c8186ff98059780d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07cc23274a796f0970bff38c83358f6055bb2848757888c8186ff98059780d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07cc23274a796f0970bff38c83358f6055bb2848757888c8186ff98059780d94", kill_on_drop: false }` [INFO] [stdout] 07cc23274a796f0970bff38c83358f6055bb2848757888c8186ff98059780d94 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 864f3417675fafc1340ee5c62376dc14c0df3d022f53e16f62be02d256e89db6 [INFO] running `Command { std: "docker" "start" "-a" "864f3417675fafc1340ee5c62376dc14c0df3d022f53e16f62be02d256e89db6", kill_on_drop: false }` [INFO] [stderr] Checking belajar-rust-dasar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `intrinsics::mir::Field` and `iter::Product` [INFO] [stdout] --> src/main.rs:7:132 [INFO] [stdout] | [INFO] [stdout] 7 | ..., HashSet, LinkedList, VecDeque}, fmt::Debug, intrinsics::mir::Field, iter::Product, ops::{Add, Deref}, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `custom_mir`: MIR is an implementation detail and extremely unstable [INFO] [stdout] --> src/main.rs:7:132 [INFO] [stdout] | [INFO] [stdout] 7 | ... HashMap, HashSet, LinkedList, VecDeque}, fmt::Debug, intrinsics::mir::Field, iter::Product, ops::{Add, Deref}, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(custom_mir)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-12-12; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `HashMap`, `HashSet`, `LinkedList`, `VecDeque`, `borrow::BorrowMut`, `intrinsics::mir::Field`, and `iter::Product` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{borrow::BorrowMut, cell::RefCell, collections::{BTreeMap, BTreeSet, HashMap, HashSet, LinkedList, VecDeque}, fmt::Debug, intrinsics::mir::Field, iter::Product, o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `first::say_hello` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use first::say_hello; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `second::say_hello as say_hello_second` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use second::say_hello as say_hello_second; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::User` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use model::User; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `hi` [INFO] [stdout] --> src/main.rs:1632:14 [INFO] [stdout] | [INFO] [stdout] 1632 | macro_rules! hi { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `iterate` [INFO] [stdout] --> src/main.rs:1652:14 [INFO] [stdout] | [INFO] [stdout] 1652 | macro_rules! iterate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `custom_mir`: MIR is an implementation detail and extremely unstable [INFO] [stdout] --> src/main.rs:7:132 [INFO] [stdout] | [INFO] [stdout] 7 | ... HashMap, HashSet, LinkedList, VecDeque}, fmt::Debug, intrinsics::mir::Field, iter::Product, ops::{Add, Deref}, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(custom_mir)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-12-12; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `belajar-rust-dasar` (bin "belajar-rust-dasar") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `function_a` in this scope [INFO] [stdout] --> src/main.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | function_a(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn funtion_a() { [INFO] [stdout] | -------------- similarly named function `funtion_a` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 241 - function_a(); [INFO] [stdout] 241 + funtion_a(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `function_b` in this scope [INFO] [stdout] --> src/main.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | function_b(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn funtion_b() { [INFO] [stdout] | -------------- similarly named function `funtion_b` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 242 - function_b(); [INFO] [stdout] 242 + funtion_b(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{borrow::BorrowMut, cell::RefCell, collections::{BTreeMap, BTreeSet, HashMap, HashSet, LinkedList, VecDeque}, fmt::Debug, in... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | data.0 = 20; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | data.1 = 2.5; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | data.2 = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 401 | let mut index = 0; [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: unused variable: `index` [INFO] [stdout] --> src/main.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 401 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice4` [INFO] [stdout] --> src/main.rs:573:8 [INFO] [stdout] | [INFO] [stdout] 573 | let slice4 = slice3; // data copy - reference are fixed size [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:1398:12 [INFO] [stdout] | [INFO] [stdout] 1398 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `apple` [INFO] [stdout] --> src/main.rs:1581:55 [INFO] [stdout] | [INFO] [stdout] 1578 | let apple = Rc::new(Brand::Of("Apple".to_string(), Rc::new(Brand::End))); [INFO] [stdout] | ----- move occurs because `apple` has type `Rc`, which does not implement the `Copy` trait [INFO] [stdout] 1579 | println!("Reference count : {}", Rc::strong_count(&apple)); [INFO] [stdout] 1580 | let laptop = Brand::Of("Laptop".to_string(), apple); [INFO] [stdout] | ----- value moved here [INFO] [stdout] 1581 | println!("Reference count : {}", Rc::strong_count(&apple)); [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 1580 | let laptop = Brand::Of("Laptop".to_string(), apple.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `apple` [INFO] [stdout] --> src/main.rs:1584:59 [INFO] [stdout] | [INFO] [stdout] 1578 | let apple = Rc::new(Brand::Of("Apple".to_string(), Rc::new(Brand::End))); [INFO] [stdout] | ----- move occurs because `apple` has type `Rc`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 1583 | let smartphone = Brand::Of("Smartphone".to_string(), apple); [INFO] [stdout] | ----- value moved here [INFO] [stdout] 1584 | println!("Reference count : {}", Rc::strong_count(&apple)); [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 1583 | let smartphone = Brand::Of("Smartphone".to_string(), apple.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `laptop` [INFO] [stdout] --> src/main.rs:1580:9 [INFO] [stdout] | [INFO] [stdout] 1580 | let laptop = Brand::Of("Laptop".to_string(), apple); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_laptop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smartphone` [INFO] [stdout] --> src/main.rs:1583:13 [INFO] [stdout] | [INFO] [stdout] 1583 | let smartphone = Brand::Of("Smartphone".to_string(), apple); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smartphone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `belajar-rust-dasar` (bin "belajar-rust-dasar" test) due to 5 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "864f3417675fafc1340ee5c62376dc14c0df3d022f53e16f62be02d256e89db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864f3417675fafc1340ee5c62376dc14c0df3d022f53e16f62be02d256e89db6", kill_on_drop: false }` [INFO] [stdout] 864f3417675fafc1340ee5c62376dc14c0df3d022f53e16f62be02d256e89db6