[INFO] cloning repository https://github.com/miawgogo/media_scanner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miawgogo/media_scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiawgogo%2Fmedia_scanner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiawgogo%2Fmedia_scanner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8b90e9ea695b686c3a0cfe2276b2ee6c8a7a91d [INFO] building miawgogo/media_scanner against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiawgogo%2Fmedia_scanner" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miawgogo/media_scanner 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/miawgogo/media_scanner [INFO] finished tweaking git repo https://github.com/miawgogo/media_scanner [INFO] tweaked toml for git repo https://github.com/miawgogo/media_scanner written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/miawgogo/media_scanner 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ffprobe v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 95ee4fce767a335558a5f260532463bc554d8472ea79794986622d25c77b9e78 [INFO] running `Command { std: "docker" "start" "-a" "95ee4fce767a335558a5f260532463bc554d8472ea79794986622d25c77b9e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95ee4fce767a335558a5f260532463bc554d8472ea79794986622d25c77b9e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ee4fce767a335558a5f260532463bc554d8472ea79794986622d25c77b9e78", kill_on_drop: false }` [INFO] [stdout] 95ee4fce767a335558a5f260532463bc554d8472ea79794986622d25c77b9e78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 90bd0128e9178e8db38db686b0f4088f2f7f4a2d02aceb2523abc78403cd3dcd [INFO] running `Command { std: "docker" "start" "-a" "90bd0128e9178e8db38db686b0f4088f2f7f4a2d02aceb2523abc78403cd3dcd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling ffprobe v0.4.0 [INFO] [stderr] Compiling media_scanner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `scan_dir` is never used [INFO] [stdout] --> src/scanner.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn scan_dir(path: &str, exts: Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert` is never used [INFO] [stdout] --> src/convert.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn convert(path: &PathBuf, out_path: &PathBuf) -> Result<(), ConvertErr> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remux` is never used [INFO] [stdout] --> src/convert.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn remux(path: &PathBuf, out_path: &PathBuf) -> Result<(), ConvertErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessType` is never used [INFO] [stdout] --> src/convert.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum ProcessType<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_files` is never used [INFO] [stdout] --> src/convert.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | IoErr(IOErr) [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - IoErr(IOErr) [INFO] [stdout] 9 + IoErr(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FfmpegErr` and `ProcError` are never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ConvertErr{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | FfmpegErr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | ProcError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConvertErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/convert.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.23s [INFO] running `Command { std: "docker" "inspect" "90bd0128e9178e8db38db686b0f4088f2f7f4a2d02aceb2523abc78403cd3dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bd0128e9178e8db38db686b0f4088f2f7f4a2d02aceb2523abc78403cd3dcd", kill_on_drop: false }` [INFO] [stdout] 90bd0128e9178e8db38db686b0f4088f2f7f4a2d02aceb2523abc78403cd3dcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0ece973f62aebe25db7d4d08be45f8211bd04c4660f64dfb981c1804cdbcc17b [INFO] running `Command { std: "docker" "start" "-a" "0ece973f62aebe25db7d4d08be45f8211bd04c4660f64dfb981c1804cdbcc17b", kill_on_drop: false }` [INFO] [stderr] Compiling media_scanner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `scan_dir` is never used [INFO] [stdout] --> src/scanner.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn scan_dir(path: &str, exts: Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert` is never used [INFO] [stdout] --> src/convert.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn convert(path: &PathBuf, out_path: &PathBuf) -> Result<(), ConvertErr> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remux` is never used [INFO] [stdout] --> src/convert.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn remux(path: &PathBuf, out_path: &PathBuf) -> Result<(), ConvertErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessType` is never used [INFO] [stdout] --> src/convert.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | enum ProcessType<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_files` is never used [INFO] [stdout] --> src/convert.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | IoErr(IOErr) [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - IoErr(IOErr) [INFO] [stdout] 9 + IoErr(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FfmpegErr` and `ProcError` are never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ConvertErr{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | FfmpegErr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | ProcError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConvertErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/convert.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | IoErr(IOErr) [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - IoErr(IOErr) [INFO] [stdout] 9 + IoErr(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/convert.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn filter_files(path: &PathBuf) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "0ece973f62aebe25db7d4d08be45f8211bd04c4660f64dfb981c1804cdbcc17b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ece973f62aebe25db7d4d08be45f8211bd04c4660f64dfb981c1804cdbcc17b", kill_on_drop: false }` [INFO] [stdout] 0ece973f62aebe25db7d4d08be45f8211bd04c4660f64dfb981c1804cdbcc17b