[INFO] cloning repository https://github.com/dipaktapase/rust_tutorials [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dipaktapase/rust_tutorials" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipaktapase%2Frust_tutorials", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipaktapase%2Frust_tutorials'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4793ead2663a83c9073cbd7f0ffa6da7eec2dfeb [INFO] checking dipaktapase/rust_tutorials against master#561b5dea1e7e5c21f0fb550ca579229ceb878297 for pr-124661 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipaktapase%2Frust_tutorials" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dipaktapase/rust_tutorials on toolchain 561b5dea1e7e5c21f0fb550ca579229ceb878297 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dipaktapase/rust_tutorials [INFO] finished tweaking git repo https://github.com/dipaktapase/rust_tutorials [INFO] tweaked toml for git repo https://github.com/dipaktapase/rust_tutorials written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dipaktapase/rust_tutorials 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" "+561b5dea1e7e5c21f0fb550ca579229ceb878297" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 dipaktapase/rust_tutorials against try#8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8 for pr-124661 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipaktapase%2Frust_tutorials" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dipaktapase/rust_tutorials on toolchain 8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dipaktapase/rust_tutorials [INFO] finished tweaking git repo https://github.com/dipaktapase/rust_tutorials [INFO] tweaked toml for git repo https://github.com/dipaktapase/rust_tutorials written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dipaktapase/rust_tutorials 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" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a6d03c4d3f9632fabf9cea62a3585b826db360d15d210a8ccf9857be7a43ba3 [INFO] running `Command { std: "docker" "start" "-a" "6a6d03c4d3f9632fabf9cea62a3585b826db360d15d210a8ccf9857be7a43ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a6d03c4d3f9632fabf9cea62a3585b826db360d15d210a8ccf9857be7a43ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6d03c4d3f9632fabf9cea62a3585b826db360d15d210a8ccf9857be7a43ba3", kill_on_drop: false }` [INFO] [stdout] 6a6d03c4d3f9632fabf9cea62a3585b826db360d15d210a8ccf9857be7a43ba3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+8348c7b12e5a2c6b3311d00662c71e8ceda0a1c8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 991ff385ea5aa21deb3ea585e2c86e6ee36ccf934a4a0842c3684af585a731eb [INFO] running `Command { std: "docker" "start" "-a" "991ff385ea5aa21deb3ea585e2c86e6ee36ccf934a4a0842c3684af585a731eb", kill_on_drop: false }` [INFO] [stderr] Checking rust_ZTM v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ServicePriority` is never used [INFO] [stdout] --> src/bin/a29.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum ServicePriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Priority` is never used [INFO] [stdout] --> src/bin/a29.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait Priority { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantGuest` is never constructed [INFO] [stdout] --> src/bin/a29.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ImportantGuest; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guest` is never constructed [INFO] [stdout] --> src/bin/a29.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Guest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Body` is never used [INFO] [stdout] --> src/bin/a30.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait Body {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Color` is never used [INFO] [stdout] --> src/bin/a30.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | trait Color {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOCK_DATA` is never used [INFO] [stdout] --> src/bin/a32.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MOCK_DATA: &'static str = include_str!("mock-data.csv"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Admin`, `Manager`, and `User` are never constructed [INFO] [stdout] --> src/bin/23_Expressions_demo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Access { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 2 | Admin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | Manager, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `longest` in this scope [INFO] [stdout] --> src/bin/a33.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | println!("{}", longest(short, long)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ZTM` (bin "a33") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `Bright` is never constructed [INFO] [stdout] --> src/bin/26_Ownership.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Light { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 10 | Bright, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossbeam_channel` [INFO] [stdout] --> src/bin/a41.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crossbeam_channel::{unbounded, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `crossbeam_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/bin/a36.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut stream = data().chunks(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/a36.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut stream = data().chunks(2); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/bin/a21.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_user` is never used [INFO] [stdout] --> src/bin/a21.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn find_user(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/a23.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn part_1() -> bool { [INFO] [stdout] | ---- expected `bool` because of return type [INFO] [stdout] ... [INFO] [stdout] 16 | maybe_access("admin") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 16 | maybe_access("admin").is_some() [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/a23.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | fn part_3() -> Access { [INFO] [stdout] | ------ expected `Access` because of return type [INFO] [stdout] ... [INFO] [stdout] 29 | maybe_access("Alice") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `Access`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Access` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 29 | maybe_access("Alice").expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ZTM` (bin "a23") due to 3 previous errors [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ZTM` (bin "a41") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "991ff385ea5aa21deb3ea585e2c86e6ee36ccf934a4a0842c3684af585a731eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991ff385ea5aa21deb3ea585e2c86e6ee36ccf934a4a0842c3684af585a731eb", kill_on_drop: false }` [INFO] [stdout] 991ff385ea5aa21deb3ea585e2c86e6ee36ccf934a4a0842c3684af585a731eb