[INFO] cloning repository https://github.com/yoebet/red-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yoebet/red-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoebet%2Fred-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoebet%2Fred-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7217a1a2303a6b0d3b289ca8c287fe6f51c8cf43
[INFO] building yoebet/red-rs against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoebet%2Fred-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yoebet/red-rs on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yoebet/red-rs
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/yoebet/red-rs
[INFO] tweaked toml for git repo https://github.com/yoebet/red-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/yoebet/red-rs 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2128f83b2cd45ffbfc101bd21c5eb3a5e3e4f4f1da2cf443d6557e24d85f2576
[INFO] running `Command { std: "docker" "start" "-a" "2128f83b2cd45ffbfc101bd21c5eb3a5e3e4f4f1da2cf443d6557e24d85f2576", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2128f83b2cd45ffbfc101bd21c5eb3a5e3e4f4f1da2cf443d6557e24d85f2576", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2128f83b2cd45ffbfc101bd21c5eb3a5e3e4f4f1da2cf443d6557e24d85f2576", kill_on_drop: false }`
[INFO] [stdout] 2128f83b2cd45ffbfc101bd21c5eb3a5e3e4f4f1da2cf443d6557e24d85f2576
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f31d2ad2786d1be6e1fa0ed48ba7b339d514c48d879290dfc0a48de53d33ba54
[INFO] running `Command { std: "docker" "start" "-a" "f31d2ad2786d1be6e1fa0ed48ba7b339d514c48d879290dfc0a48de53d33ba54", kill_on_drop: false }`
[INFO] [stderr] Compiling memchr v2.7.4
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling regex-syntax v0.8.5
[INFO] [stderr] Compiling ryu v1.0.20
[INFO] [stderr] Compiling itoa v1.0.15
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling vp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout] --> src/split_chapters_en.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fs;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout] --> src/split_chapters_en.rs:3:17
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::path::{Path, PathBuf};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Debug` and `Display`
[INFO] [stdout] --> src/split_chapters_zh.rs:4:16
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::fmt::{Debug, Display};
[INFO] [stdout] | ^^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout] --> src/lib.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::io::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `SResult` is never used
[INFO] [stdout] --> src/lib.rs:12:6
[INFO] [stdout] |
[INFO] [stdout] 12 | type SResult = Result<(), io::Error>;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout] --> src/lib.rs:20:4
[INFO] [stdout] |
[INFO] [stdout] 20 | fn read_lines
(filename: P) -> io::Result>>
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `build_base_forms` is never used
[INFO] [stdout] --> src/word_form.rs:11:4
[INFO] [stdout] |
[INFO] [stdout] 11 | fn build_base_forms(file_name: &str) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `guest_base_forms` is never used
[INFO] [stdout] --> src/word_form.rs:35:4
[INFO] [stdout] |
[INFO] [stdout] 35 | fn guest_base_forms(word: &str) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `split_chapters` is never used
[INFO] [stdout] --> src/split_chapters_en.rs:7:4
[INFO] [stdout] |
[INFO] [stdout] 7 | fn split_chapters(path: &str) -> SResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `split_chapters` is never used
[INFO] [stdout] --> src/split_chapters_zh.rs:9:4
[INFO] [stdout] |
[INFO] [stdout] 9 | fn split_chapters(path: &str) -> SResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `zh2n` is never used
[INFO] [stdout] --> src/split_chapters_zh.rs:73:4
[INFO] [stdout] |
[INFO] [stdout] 73 | fn zh2n(zn: &str) -> usize {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `zh2n2` is never used
[INFO] [stdout] --> src/split_chapters_zh.rs:98:4
[INFO] [stdout] |
[INFO] [stdout] 98 | fn zh2n2(zn: &str) -> i32 {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pdir` is never used
[INFO] [stdout] --> src/rename_files.rs:4:4
[INFO] [stdout] |
[INFO] [stdout] 4 | fn pdir(d: &Path) {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pfile` is never used
[INFO] [stdout] --> src/rename_files.rs:17:4
[INFO] [stdout] |
[INFO] [stdout] 17 | fn pfile(f: &Path) {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.55s
[INFO] running `Command { std: "docker" "inspect" "f31d2ad2786d1be6e1fa0ed48ba7b339d514c48d879290dfc0a48de53d33ba54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f31d2ad2786d1be6e1fa0ed48ba7b339d514c48d879290dfc0a48de53d33ba54", kill_on_drop: false }`
[INFO] [stdout] f31d2ad2786d1be6e1fa0ed48ba7b339d514c48d879290dfc0a48de53d33ba54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a73cc1961b60ed2f52ddbbb35221e90b8737109ae3b98207753ee1f24cae92e
[INFO] running `Command { std: "docker" "start" "-a" "4a73cc1961b60ed2f52ddbbb35221e90b8737109ae3b98207753ee1f24cae92e", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout] --> src/split_chapters_en.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fs;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout] --> src/split_chapters_en.rs:3:17
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::path::{Path, PathBuf};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Debug` and `Display`
[INFO] [stdout] --> src/split_chapters_zh.rs:4:16
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::fmt::{Debug, Display};
[INFO] [stdout] | ^^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout] --> src/lib.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::io::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `SResult` is never used
[INFO] [stdout] --> src/lib.rs:12:6
[INFO] [stdout] |
[INFO] [stdout] 12 | type SResult = Result<(), io::Error>;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout] --> src/lib.rs:20:4
[INFO] [stdout] |
[INFO] [stdout] 20 | fn read_lines(filename: P) -> io::Result>>
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `build_base_forms` is never used
[INFO] [stdout] --> src/word_form.rs:11:4
[INFO] [stdout] |
[INFO] [stdout] 11 | fn build_base_forms(file_name: &str) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `guest_base_forms` is never used
[INFO] [stdout] --> src/word_form.rs:35:4
[INFO] [stdout] |
[INFO] [stdout] 35 | fn guest_base_forms(word: &str) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `split_chapters` is never used
[INFO] [stdout] --> src/split_chapters_en.rs:7:4
[INFO] [stdout] |
[INFO] [stdout] 7 | fn split_chapters(path: &str) -> SResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `split_chapters` is never used
[INFO] [stdout] --> src/split_chapters_zh.rs:9:4
[INFO] [stdout] |
[INFO] [stdout] 9 | fn split_chapters(path: &str) -> SResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `zh2n` is never used
[INFO] [stdout] --> src/split_chapters_zh.rs:73:4
[INFO] [stdout] |
[INFO] [stdout] 73 | fn zh2n(zn: &str) -> usize {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `zh2n2` is never used
[INFO] [stdout] --> src/split_chapters_zh.rs:98:4
[INFO] [stdout] |
[INFO] [stdout] 98 | fn zh2n2(zn: &str) -> i32 {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pdir` is never used
[INFO] [stdout] --> src/rename_files.rs:4:4
[INFO] [stdout] |
[INFO] [stdout] 4 | fn pdir(d: &Path) {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pfile` is never used
[INFO] [stdout] --> src/rename_files.rs:17:4
[INFO] [stdout] |
[INFO] [stdout] 17 | fn pfile(f: &Path) {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling vp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Debug` and `Display`
[INFO] [stdout] --> src/split_chapters_zh.rs:4:16
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::fmt::{Debug, Display};
[INFO] [stdout] | ^^^^^ ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout] --> src/lib.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::io::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "4a73cc1961b60ed2f52ddbbb35221e90b8737109ae3b98207753ee1f24cae92e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a73cc1961b60ed2f52ddbbb35221e90b8737109ae3b98207753ee1f24cae92e", kill_on_drop: false }`
[INFO] [stdout] 4a73cc1961b60ed2f52ddbbb35221e90b8737109ae3b98207753ee1f24cae92e