[INFO] cloning repository https://github.com/lforeverhao/rust_learn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lforeverhao/rust_learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flforeverhao%2Frust_learn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flforeverhao%2Frust_learn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c0fa028aa8343016f141e54ddace34b70347b38 [INFO] checking lforeverhao/rust_learn against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flforeverhao%2Frust_learn" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lforeverhao/rust_learn on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lforeverhao/rust_learn [INFO] finished tweaking git repo https://github.com/lforeverhao/rust_learn [INFO] tweaked toml for git repo https://github.com/lforeverhao/rust_learn written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/lforeverhao/rust_learn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", 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] 7701561ff402d28bd96c0e742a166198dd43cc717a092133b4692d82216de875 [INFO] running `Command { std: "docker" "start" "-a" "7701561ff402d28bd96c0e742a166198dd43cc717a092133b4692d82216de875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7701561ff402d28bd96c0e742a166198dd43cc717a092133b4692d82216de875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7701561ff402d28bd96c0e742a166198dd43cc717a092133b4692d82216de875", kill_on_drop: false }` [INFO] [stdout] 7701561ff402d28bd96c0e742a166198dd43cc717a092133b4692d82216de875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 051b594fe903a3948a4b83baeff834d8cd63c77a4172b702ad007988eb1b70fc [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" "051b594fe903a3948a4b83baeff834d8cd63c77a4172b702ad007988eb1b70fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking test_concurrent v0.1.0 (/opt/rustwide/workdir/test_concurrent) [INFO] [stderr] Checking test_lifetime v0.1.0 (/opt/rustwide/workdir/test_lifetime) [INFO] [stderr] Checking test_string v0.1.0 (/opt/rustwide/workdir/test_string) [INFO] [stderr] Checking test_borrow v0.1.0 (/opt/rustwide/workdir/test_borrow) [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> test_string/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `longest1` in this scope [INFO] [stdout] --> test_lifetime/src/lib.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str { [INFO] [stdout] | ------------------------------------------------- similarly named function `longest` defined here [INFO] [stdout] ... [INFO] [stdout] 34 | let longest1 = longest1("1", "2"); [INFO] [stdout] | ^^^^^^^^ help: a function with a similar name exists: `longest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: function is never used: `showStr` [INFO] [stdout] --> test_string/src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn showStr(s: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `showStr` should have a snake case name [INFO] [stdout] --> test_string/src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn showStr(s: &str) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `show_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test_lifetime` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> test_concurrent/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> test_concurrent/src/thread_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> test_concurrent/src/mutex.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `RefCell` [INFO] [stdout] --> test_concurrent/src/arc.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> test_concurrent/src/atomic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> test_concurrent/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> test_concurrent/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> test_concurrent/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> test_concurrent/src/thread_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> test_concurrent/src/mutex.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `RefCell` [INFO] [stdout] --> test_concurrent/src/arc.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> test_concurrent/src/atomic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/channel.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..10 { [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: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/channel.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..10 { [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: unused variable: `handle` [INFO] [stdout] --> test_concurrent/src/channel.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/channel.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | for x in receiver { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/mutex.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/mutex.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/mutex.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> test_concurrent/src/arc.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | for index in 0..10 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/atomic.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | for x in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/atomic.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for x in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/atomic.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for x in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> test_concurrent/src/channel.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/channel.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | for x in receiver { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/mutex.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/mutex.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test_concurrent/src/mutex.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> test_concurrent/src/arc.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | for index in 0..10 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/atomic.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | for x in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/atomic.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for x in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> test_concurrent/src/atomic.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for x in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_sync_channel` [INFO] [stdout] --> test_concurrent/src/channel.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run_sync_channel() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_async_channel` [INFO] [stdout] --> test_concurrent/src/channel.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_async_channel() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `multi_sender_one_receiver` [INFO] [stdout] --> test_concurrent/src/channel.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn multi_sender_one_receiver() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_thread` [INFO] [stdout] --> test_concurrent/src/thread_test.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_thread() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `park_thread` [INFO] [stdout] --> test_concurrent/src/thread_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn park_thread() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_thread_move` [INFO] [stdout] --> test_concurrent/src/thread_test.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn create_thread_move() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_thread_no_move` [INFO] [stdout] --> test_concurrent/src/thread_test.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn create_thread_no_move() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mutex_test` [INFO] [stdout] --> test_concurrent/src/mutex.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn mutex_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arc_cross_thread` [INFO] [stdout] --> test_concurrent/src/arc.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn arc_cross_thread() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arc_one_write_multi_read` [INFO] [stdout] --> test_concurrent/src/arc.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn arc_one_write_multi_read() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `atomic_test` [INFO] [stdout] --> test_concurrent/src/atomic.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn atomic_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/thread_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/thread_test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arcClone` should have a snake case name [INFO] [stdout] --> test_concurrent/src/mutex.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let arcClone = arc.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arc_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arcClone1` should have a snake case name [INFO] [stdout] --> test_concurrent/src/mutex.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let arcClone1 = arc.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `arc_clone1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arcClone2` should have a snake case name [INFO] [stdout] --> test_concurrent/src/mutex.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let arcClone2 = arc.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `arc_clone2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/mutex.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/mutex.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | handle1.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/mutex.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | handle2.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/atomic.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/atomic.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | thread1.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/atomic.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | thread2.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/thread_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/thread_test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arcClone` should have a snake case name [INFO] [stdout] --> test_concurrent/src/mutex.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let arcClone = arc.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arc_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arcClone1` should have a snake case name [INFO] [stdout] --> test_concurrent/src/mutex.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let arcClone1 = arc.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `arc_clone1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arcClone2` should have a snake case name [INFO] [stdout] --> test_concurrent/src/mutex.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let arcClone2 = arc.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `arc_clone2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/mutex.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/mutex.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | handle1.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/mutex.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | handle2.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/atomic.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/atomic.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | thread1.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test_concurrent/src/atomic.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | thread2.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "051b594fe903a3948a4b83baeff834d8cd63c77a4172b702ad007988eb1b70fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "051b594fe903a3948a4b83baeff834d8cd63c77a4172b702ad007988eb1b70fc", kill_on_drop: false }` [INFO] [stdout] 051b594fe903a3948a4b83baeff834d8cd63c77a4172b702ad007988eb1b70fc