[INFO] cloning repository https://github.com/donggeuri0320/rust_study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/donggeuri0320/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonggeuri0320%2Frust_study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonggeuri0320%2Frust_study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b29ae2d6a74ae76d0bcccdc7ae33d5e8e0ab4b2
[INFO] checking donggeuri0320/rust_study against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonggeuri0320%2Frust_study" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/donggeuri0320/rust_study on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/donggeuri0320/rust_study
[INFO] finished tweaking git repo https://github.com/donggeuri0320/rust_study
[INFO] tweaked toml for git repo https://github.com/donggeuri0320/rust_study written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/donggeuri0320/rust_study already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 475f309eb255726831c4df1494f21d392cd4a67071ae978131f923bc9157d844
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "475f309eb255726831c4df1494f21d392cd4a67071ae978131f923bc9157d844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "475f309eb255726831c4df1494f21d392cd4a67071ae978131f923bc9157d844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "475f309eb255726831c4df1494f21d392cd4a67071ae978131f923bc9157d844", kill_on_drop: false }`
[INFO] [stdout] 475f309eb255726831c4df1494f21d392cd4a67071ae978131f923bc9157d844
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8cd16752fd69f94ea96e567a809956cf88920bde9b3b876b7d29a82c4d0a5137
[INFO] running `Command { std: "docker" "start" "-a" "8cd16752fd69f94ea96e567a809956cf88920bde9b3b876b7d29a82c4d0a5137", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_study v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]  --> src/basic/index.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc::channel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]  --> src/basic/index.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::mpsc::channel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/basic/index.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let len = hs_ref_borrow_calc_len(&s1); // 소유권을 넘기는 대신에 참조권한을 넘김! ( & 기호가 참조자 )
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/basic/index.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let r1 = &mut s2;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/basic/index.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let r2 = &mut s2;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]    --> src/basic/index.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let user3 = User {
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]    --> src/basic/index.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let black = Color(0, 0, 0); // 튜플 구조체 사용방법!
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rect2`
[INFO] [stdout]    --> src/basic/index.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let rect2 = Rectangle::square(3);
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lv`
[INFO] [stdout]    --> src/basic/index.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |     let lv = i.level();
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_lv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/basic/index.rs:251:28
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn longest<'a>(x: &'a str, y: &str) -> &'a str {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/basic/index.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let len = hs_ref_borrow_calc_len(&s1); // 소유권을 넘기는 대신에 참조권한을 넘김! ( & 기호가 참조자 )
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/basic/index.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let r1 = &mut s2;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/basic/index.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let r2 = &mut s2;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]    --> src/basic/index.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let user3 = User {
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]    --> src/basic/index.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let black = Color(0, 0, 0); // 튜플 구조체 사용방법!
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rect2`
[INFO] [stdout]    --> src/basic/index.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let rect2 = Rectangle::square(3);
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lv`
[INFO] [stdout]    --> src/basic/index.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |     let lv = i.level();
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_lv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/basic/index.rs:251:28
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn longest<'a>(x: &'a str, y: &str) -> &'a str {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `counter`
[INFO] [stdout]    --> src/basic/index.rs:501:36
[INFO] [stdout]     |
[INFO] [stdout] 497 |     let counter = Mutex::new(0);
[INFO] [stdout]     |         ------- move occurs because `counter` has type `Mutex<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 501 |         let handle = thread::spawn(move || {
[INFO] [stdout]     |                                    ^^^^^^^ value moved into closure here, in previous iteration of loop
[INFO] [stdout] 502 |            let mut num = counter.lock().unwrap();
[INFO] [stdout]     |                          ------- use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_study` due to 2 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: use of moved value: `counter`
[INFO] [stdout]    --> src/basic/index.rs:501:36
[INFO] [stdout]     |
[INFO] [stdout] 497 |     let counter = Mutex::new(0);
[INFO] [stdout]     |         ------- move occurs because `counter` has type `Mutex<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 501 |         let handle = thread::spawn(move || {
[INFO] [stdout]     |                                    ^^^^^^^ value moved into closure here, in previous iteration of loop
[INFO] [stdout] 502 |            let mut num = counter.lock().unwrap();
[INFO] [stdout]     |                          ------- use occurs due to use in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "8cd16752fd69f94ea96e567a809956cf88920bde9b3b876b7d29a82c4d0a5137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cd16752fd69f94ea96e567a809956cf88920bde9b3b876b7d29a82c4d0a5137", kill_on_drop: false }`
[INFO] [stdout] 8cd16752fd69f94ea96e567a809956cf88920bde9b3b876b7d29a82c4d0a5137
