[INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/ifraixedes/phonify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifraixedes/phonify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e75093772b5c8244d239fa858865b3beb57bc44f [INFO] testing ifraixedes/phonify against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifraixedes%2Fphonify" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ifraixedes/phonify on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ifraixedes/phonify [INFO] finished tweaking git repo https://github.com/ifraixedes/phonify [INFO] tweaked toml for git repo https://github.com/ifraixedes/phonify written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ifraixedes/phonify 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" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v0.1.3 [INFO] [stderr] Downloaded aho-corasick v0.2.1 [INFO] [stderr] Downloaded regex-syntax v0.1.2 [INFO] [stderr] Downloaded regex v0.1.38 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cce55451238a347494121c0809ea6cb554b4f77719a3b674132379215994e684 [INFO] running `Command { std: "docker" "start" "-a" "cce55451238a347494121c0809ea6cb554b4f77719a3b674132379215994e684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cce55451238a347494121c0809ea6cb554b4f77719a3b674132379215994e684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce55451238a347494121c0809ea6cb554b4f77719a3b674132379215994e684", kill_on_drop: false }` [INFO] [stdout] cce55451238a347494121c0809ea6cb554b4f77719a3b674132379215994e684 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad20053a2be7266716b73312d7e6a6d27b92ef27d32181bd3196746d1bed592e [INFO] running `Command { std: "docker" "start" "-a" "ad20053a2be7266716b73312d7e6a6d27b92ef27d32181bd3196746d1bed592e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.1.2 [INFO] [stderr] Compiling memchr v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.2.1 [INFO] [stderr] Compiling regex v0.1.38 [INFO] [stderr] Compiling phoniphy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/makefile.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut dyn io::BufRead) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/makefile.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Error { OpeningFile, ParsingTargets } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Makefile` is never constructed [INFO] [stdout] --> src/makefile.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Makefile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/makefile.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn open(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_targets` is never used [INFO] [stdout] --> src/makefile.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_phoniphy_macro` is never used [INFO] [stdout] --> src/makefile.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_phoniphy_macro(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_targets_from_line` is never used [INFO] [stdout] --> src/makefile.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_targets_from_line(l: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_targets` is never used [INFO] [stdout] --> src/makefile.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn split_targets(t: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "ad20053a2be7266716b73312d7e6a6d27b92ef27d32181bd3196746d1bed592e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad20053a2be7266716b73312d7e6a6d27b92ef27d32181bd3196746d1bed592e", kill_on_drop: false }` [INFO] [stdout] ad20053a2be7266716b73312d7e6a6d27b92ef27d32181bd3196746d1bed592e [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8beaf30038862bf18f3fe147f4171ac1abb7e4cc8f7e32beec11094050ba947c [INFO] running `Command { std: "docker" "start" "-a" "8beaf30038862bf18f3fe147f4171ac1abb7e4cc8f7e32beec11094050ba947c", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/makefile.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut dyn io::BufRead) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/makefile.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Error { OpeningFile, ParsingTargets } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Makefile` is never constructed [INFO] [stdout] --> src/makefile.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Makefile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/makefile.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn open(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_targets` is never used [INFO] [stdout] --> src/makefile.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_phoniphy_macro` is never used [INFO] [stdout] --> src/makefile.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_phoniphy_macro(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_targets_from_line` is never used [INFO] [stdout] --> src/makefile.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_targets_from_line(l: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_targets` is never used [INFO] [stdout] --> src/makefile.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn split_targets(t: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling phoniphy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/makefile.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut dyn io::BufRead) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/makefile.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Error { OpeningFile, ParsingTargets } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Makefile` is never constructed [INFO] [stdout] --> src/makefile.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Makefile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/makefile.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn open(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_targets` is never used [INFO] [stdout] --> src/makefile.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "8beaf30038862bf18f3fe147f4171ac1abb7e4cc8f7e32beec11094050ba947c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8beaf30038862bf18f3fe147f4171ac1abb7e4cc8f7e32beec11094050ba947c", kill_on_drop: false }` [INFO] [stdout] 8beaf30038862bf18f3fe147f4171ac1abb7e4cc8f7e32beec11094050ba947c [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3fedb062c3dfeaa29b4a89abd9945dfb595f9c41f36feb6e3c8296d657744a8e [INFO] running `Command { std: "docker" "start" "-a" "3fedb062c3dfeaa29b4a89abd9945dfb595f9c41f36feb6e3c8296d657744a8e", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/makefile.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 | fn read_targets(buff: &mut dyn io::BufRead) -> Result, Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: enum `Error` is never used [INFO] [stderr] --> src/makefile.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | enum Error { OpeningFile, ParsingTargets } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Makefile` is never constructed [INFO] [stderr] --> src/makefile.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct Makefile { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `open` is never used [INFO] [stderr] --> src/makefile.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn open(path: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_targets` is never used [INFO] [stderr] --> src/makefile.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn read_targets(buff: &mut io::BufRead) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_phoniphy_macro` is never used [INFO] [stderr] --> src/makefile.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | fn is_phoniphy_macro(line: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_targets_from_line` is never used [INFO] [stderr] --> src/makefile.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn get_targets_from_line(l: &str) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `split_targets` is never used [INFO] [stderr] --> src/makefile.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn split_targets(t: &str) -> Vec<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `phoniphy` (lib) generated 8 warnings (run `cargo fix --lib -p phoniphy` to apply 1 suggestion) [INFO] [stderr] warning: `phoniphy` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phoniphy-e2e68121b4c38394) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_returns_false_if_line_is_not_makefile_comment ... ok [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_retunrs_true_for_perfect_macro_syntax ... ok [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_returns_false_if_macro_is_not_phoniphy ... ok [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_returns_true_if_macro_has_blanks_betweeen_comment_and_macro ... ok [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_returns_true_if_macro_has_blanks_everywhere ... ok [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_returns_false_if_not_surrounded_by_square_brackets ... ok [INFO] [stdout] test makefile::test_split_targets::it_consider_targets_which_are_variables ... ok [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_returns_true_if_macro_is_prefixed_with_blanks ... ok [INFO] [stdout] test makefile::test_split_targets::it_does_not_consider_targets_which_are_patterns ... ok [INFO] [stdout] test makefile::test_split_targets::it_split_one_targets ... ok [INFO] [stdout] test makefile::test_is_phoniphy_macro::it_returns_true_if_macro_has_trailing_blanks ... ok [INFO] [stdout] test makefile::test_split_targets::it_split_one_targets_removing_blanks ... ok [INFO] [stdout] test makefile::test_split_targets::it_split_two_targets ... ok [INFO] [stdout] test makefile::test_split_targets::it_split_three_targets_with_more_than_one_space ... ok [INFO] [stdout] test makefile::test_target_from_line::it_returns_targets_for_target_line ... ok [INFO] [stdout] test makefile::test_target_from_line::it_returns_empty_for_no_target_line ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/phoniphy-9806a72cb5aa4551) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests phoniphy [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3fedb062c3dfeaa29b4a89abd9945dfb595f9c41f36feb6e3c8296d657744a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fedb062c3dfeaa29b4a89abd9945dfb595f9c41f36feb6e3c8296d657744a8e", kill_on_drop: false }` [INFO] [stdout] 3fedb062c3dfeaa29b4a89abd9945dfb595f9c41f36feb6e3c8296d657744a8e