[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/1a3f5da1120a956affd01fa3477502121f10daea against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnn4%2Ftypewriter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tnn4/typewriter on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa3e3eda7f5ae1f612442f41eb4b406723eeea8f09b25290eb8fd166eb5b76c2 [INFO] running `Command { std: "docker" "start" "-a" "fa3e3eda7f5ae1f612442f41eb4b406723eeea8f09b25290eb8fd166eb5b76c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa3e3eda7f5ae1f612442f41eb4b406723eeea8f09b25290eb8fd166eb5b76c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa3e3eda7f5ae1f612442f41eb4b406723eeea8f09b25290eb8fd166eb5b76c2", kill_on_drop: false }` [INFO] [stdout] fa3e3eda7f5ae1f612442f41eb4b406723eeea8f09b25290eb8fd166eb5b76c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8b14916103d042e9ff8dd15061b7577f12ae1830185242081b1f8aab4094a40 [INFO] running `Command { std: "docker" "start" "-a" "e8b14916103d042e9ff8dd15061b7577f12ae1830185242081b1f8aab4094a40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Checking lazy_static v1.4.0 [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tw` [INFO] [stdout] --> examples/reminder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tw::term::typewritec; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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] [stderr] error: could not compile `terminal` (example "reminder") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tw` [INFO] [stdout] --> examples/space-marine-intro.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tw::term::typewritec; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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] 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] 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] [stderr] error: could not compile `terminal` (example "space-marine-intro") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tw` [INFO] [stdout] --> examples/turtles.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tw::term::typewritec(RED,"Helllllllllo world!\n"); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tw` [INFO] [stdout] --> examples/turtles.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | tw::term::typewritec(RED,"A turtle"); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tw` [INFO] [stdout] --> examples/turtles.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | tw::term::typewritec("blue","some stringggggggggggggggggggggggggggggggggg"); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tw` [INFO] [stdout] --> examples/turtles.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | tw::term::typewritec("green","some stringggggggggggggggggggggggggggggggggg"); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tw` [INFO] [stdout] --> examples/turtles.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | tw::sleep_ms(50); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `tw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tw`, use `cargo add tw` to add it to your `Cargo.toml` [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 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e8b14916103d042e9ff8dd15061b7577f12ae1830185242081b1f8aab4094a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b14916103d042e9ff8dd15061b7577f12ae1830185242081b1f8aab4094a40", kill_on_drop: false }` [INFO] [stdout] e8b14916103d042e9ff8dd15061b7577f12ae1830185242081b1f8aab4094a40