[INFO] cloning repository https://github.com/tnn4/typewriter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tnn4/typewriter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnn4%2Ftypewriter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnn4%2Ftypewriter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a3f5da1120a956affd01fa3477502121f10daea [INFO] checking tnn4/typewriter against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119820 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnn4%2Ftypewriter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tnn4/typewriter on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tnn4/typewriter [INFO] finished tweaking git repo https://github.com/tnn4/typewriter [INFO] tweaked toml for git repo https://github.com/tnn4/typewriter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tnn4/typewriter 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "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 tnn4/typewriter against try#b69bfeecc49bf5661cf54497638430035ff61aa4 for pr-119820 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnn4%2Ftypewriter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tnn4/typewriter on toolchain b69bfeecc49bf5661cf54497638430035ff61aa4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tnn4/typewriter [INFO] finished tweaking git repo https://github.com/tnn4/typewriter [INFO] tweaked toml for git repo https://github.com/tnn4/typewriter written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tnn4/typewriter 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" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa66c0aca6e0d4b17dcac84de70ca1a9c919c6785e08bc46949077f9bedf6396 [INFO] running `Command { std: "docker" "start" "-a" "fa66c0aca6e0d4b17dcac84de70ca1a9c919c6785e08bc46949077f9bedf6396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa66c0aca6e0d4b17dcac84de70ca1a9c919c6785e08bc46949077f9bedf6396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa66c0aca6e0d4b17dcac84de70ca1a9c919c6785e08bc46949077f9bedf6396", kill_on_drop: false }` [INFO] [stdout] fa66c0aca6e0d4b17dcac84de70ca1a9c919c6785e08bc46949077f9bedf6396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 204cbf26619ab6e991d58bcde0addc6f42a2f05d468ffc750489ca78d473d742 [INFO] running `Command { std: "docker" "start" "-a" "204cbf26619ab6e991d58bcde0addc6f42a2f05d468ffc750489ca78d473d742", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking terminal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let buffer="\\|/-"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_char_colored(s: &String, n: usize, color: &str ){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_char_colored(s: &String, n: usize, color: &str ){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/lib.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn read_file(path_to_file: &str) -> String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_file_contents` is never used [INFO] [stdout] --> src/lib.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn print_file_contents(input: &String){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_text_colored_in_ms` is never used [INFO] [stdout] --> src/lib.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn type_text_colored_in_ms(s: ColoredString, ms: u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_rotating_slash` is never used [INFO] [stdout] --> src/lib.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | fn type_rotating_slash(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_colored` is never used [INFO] [stdout] --> src/lib.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_char_colored(s: &String, n: usize, color: &str ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let buffer="\\|/-"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_char_colored(s: &String, n: usize, color: &str ){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_char_colored(s: &String, n: usize, color: &str ){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/lib.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn read_file(path_to_file: &str) -> String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_file_contents` is never used [INFO] [stdout] --> src/lib.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn print_file_contents(input: &String){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_text_colored_in_ms` is never used [INFO] [stdout] --> src/lib.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn type_text_colored_in_ms(s: ColoredString, ms: u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_rotating_slash` is never used [INFO] [stdout] --> src/lib.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | fn type_rotating_slash(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_colored` is never used [INFO] [stdout] --> src/lib.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | fn get_char_colored(s: &String, n: usize, color: &str ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/space-marine-intro.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tw::term::typewritec; [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tw` [INFO] [stdout] --> examples/space-marine-intro.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tw::clear_console; [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tw` [INFO] [stdout] --> examples/space-marine-intro.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tw::clear_line; [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tw` [INFO] [stdout] --> examples/space-marine-intro.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tw::clear_line2; [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/reminder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tw::term::typewritec; [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tw` [INFO] [stdout] --> examples/reminder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tw::clear_console; [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tw::term::typewritec(RED,"Helllllllllo world!\n"); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tw::term::typewritec(RED,"Could you tell me what the world sits upon?\n"); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `terminal` (example "space-marine-intro") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | tw::term::typewritec(RED,"A turtle"); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | tw::term::typewritec("green","And that sits upon?\n"); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `terminal` (example "reminder") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | tw::term::typewritec("red", "A TURTLE! THERE ARE TURTLES ALL THE WAY DOWN"); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | tw::term::typewritec("blue","some stringggggggggggggggggggggggggggggggggg"); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | tw::term::typewritec("green","some stringggggggggggggggggggggggggggggggggg"); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> examples/turtles.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tw` [INFO] [stdout] --> examples/turtles.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | tw::sleep_ms(50); [INFO] [stdout] | ^^ use of undeclared crate or module `tw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `terminal` (example "turtles") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "204cbf26619ab6e991d58bcde0addc6f42a2f05d468ffc750489ca78d473d742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204cbf26619ab6e991d58bcde0addc6f42a2f05d468ffc750489ca78d473d742", kill_on_drop: false }` [INFO] [stdout] 204cbf26619ab6e991d58bcde0addc6f42a2f05d468ffc750489ca78d473d742