[INFO] cloning repository https://github.com/hanju-jo/linux-in-practice-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanju-jo/linux-in-practice-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanju-jo%2Flinux-in-practice-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanju-jo%2Flinux-in-practice-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d220d80ebff125275225d470f35dbef05c117834 [INFO] checking hanju-jo/linux-in-practice-rust against master#dfdbe30004a095ad63951c4cd6e10a9a971a7399 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanju-jo%2Flinux-in-practice-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanju-jo/linux-in-practice-rust on toolchain dfdbe30004a095ad63951c4cd6e10a9a971a7399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanju-jo/linux-in-practice-rust [INFO] finished tweaking git repo https://github.com/hanju-jo/linux-in-practice-rust [INFO] tweaked toml for git repo https://github.com/hanju-jo/linux-in-practice-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hanju-jo/linux-in-practice-rust 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" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking hanju-jo/linux-in-practice-rust against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanju-jo%2Flinux-in-practice-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanju-jo/linux-in-practice-rust on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanju-jo/linux-in-practice-rust [INFO] finished tweaking git repo https://github.com/hanju-jo/linux-in-practice-rust [INFO] tweaked toml for git repo https://github.com/hanju-jo/linux-in-practice-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hanju-jo/linux-in-practice-rust 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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19aa33768bc33e9d8881b0f4562c4ac1da43fd2b743a311472dab111daa94fdc [INFO] running `Command { std: "docker" "start" "-a" "19aa33768bc33e9d8881b0f4562c4ac1da43fd2b743a311472dab111daa94fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19aa33768bc33e9d8881b0f4562c4ac1da43fd2b743a311472dab111daa94fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19aa33768bc33e9d8881b0f4562c4ac1da43fd2b743a311472dab111daa94fdc", kill_on_drop: false }` [INFO] [stdout] 19aa33768bc33e9d8881b0f4562c4ac1da43fd2b743a311472dab111daa94fdc [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6004bbb88e8c92ebf7f4b0e3b99e269a799fb3a5c4560dd235a9253ca6eb3773 [INFO] running `Command { std: "docker" "start" "-a" "6004bbb88e8c92ebf7f4b0e3b99e269a799fb3a5c4560dd235a9253ca6eb3773", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking linux_in_practice_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn child_fn(stdout: &mut Write, id: u32, nrecord: usize, nloop_per_resol: i64, start: DateTime) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | fn child_fn(stdout: &mut dyn Write, id: u32, nrecord: usize, nloop_per_resol: i64, start: DateTime) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(ForkResult::Parent { child, .. }) => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | writeln!(stdout, "estimating workload which takes just one milliseconds"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | writeln!(stdout, "end estimation, {}", nloop_per_resol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = stdout.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | writeln!(stdout, "{}\t{}\t{}", id, diff_msec, (i+1)*100/nrecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = stdout.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn child_fn(stdout: &mut Write, id: u32, nrecord: usize, nloop_per_resol: i64, start: DateTime) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | fn child_fn(stdout: &mut dyn Write, id: u32, nrecord: usize, nloop_per_resol: i64, start: DateTime) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(ForkResult::Parent { child, .. }) => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | writeln!(stdout, "estimating workload which takes just one milliseconds"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | writeln!(stdout, "end estimation, {}", nloop_per_resol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = stdout.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | writeln!(stdout, "{}\t{}\t{}", id, diff_msec, (i+1)*100/nrecord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/04-process-scheduler/sched.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = stdout.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "6004bbb88e8c92ebf7f4b0e3b99e269a799fb3a5c4560dd235a9253ca6eb3773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6004bbb88e8c92ebf7f4b0e3b99e269a799fb3a5c4560dd235a9253ca6eb3773", kill_on_drop: false }` [INFO] [stdout] 6004bbb88e8c92ebf7f4b0e3b99e269a799fb3a5c4560dd235a9253ca6eb3773