[INFO] cloning repository https://github.com/gngeorgiev/gopro-merge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gngeorgiev/gopro-merge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgngeorgiev%2Fgopro-merge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgngeorgiev%2Fgopro-merge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b68b8bd5e47683d129305328dae3311814a10ddd [INFO] checking gngeorgiev/gopro-merge/b68b8bd5e47683d129305328dae3311814a10ddd against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgngeorgiev%2Fgopro-merge" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gngeorgiev/gopro-merge on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gngeorgiev/gopro-merge [INFO] finished tweaking git repo https://github.com/gngeorgiev/gopro-merge [INFO] tweaked toml for git repo https://github.com/gngeorgiev/gopro-merge written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gngeorgiev/gopro-merge 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f43be270e7524a180777e0bdb6a69a30b4226c103c13c8d03cd65d7b972ce79 [INFO] running `Command { std: "docker" "start" "-a" "5f43be270e7524a180777e0bdb6a69a30b4226c103c13c8d03cd65d7b972ce79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f43be270e7524a180777e0bdb6a69a30b4226c103c13c8d03cd65d7b972ce79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f43be270e7524a180777e0bdb6a69a30b4226c103c13c8d03cd65d7b972ce79", kill_on_drop: false }` [INFO] [stdout] 5f43be270e7524a180777e0bdb6a69a30b4226c103c13c8d03cd65d7b972ce79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aa769ff89657f5449e148f1419c9759f894ae9f7cec21dd495254c4a5bfcc6d [INFO] running `Command { std: "docker" "start" "-a" "7aa769ff89657f5449e148f1419c9759f894ae9f7cec21dd495254c4a5bfcc6d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking color-backtrace v0.5.1 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling test-env-log v0.2.7 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking gopro-merge v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `gopro_merge` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/merge/ffmpeg/parser.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0107]: function takes 1 generic argument but 3 generic arguments were supplied [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | parse_command_stream::<(), _, _>(self.stream.take().unwrap(), |name, value| match name { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ------ help: remove the unnecessary generic arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: function defined here, with 1 generic parameter: `V` [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:103:4 [INFO] [stderr] | [INFO] [stderr] 103 | fn parse_command_stream( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ - [INFO] [stderr] = note: `impl Trait` cannot be explicitly specified as a generic argument [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | fn parse(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | parse_command_stream::<(), _, _>(self.stream.take().unwrap(), |name, value| match name { [INFO] [stderr] | ^^ [INFO] [stderr] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0107`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / parse_command_stream(self.stream.take().unwrap(), |name, value| match name { [INFO] [stdout] 70 | | "out_time" => { [INFO] [stdout] 71 | | let duration = self.parse_timestamp_match(value); [INFO] [stdout] 72 | | (self.cb)(duration); [INFO] [stdout] ... | [INFO] [stdout] 75 | | _ => None, [INFO] [stdout] 76 | | })?; [INFO] [stdout] | |__________^ [INFO] [stdout] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 69 | parse_command_stream::<(), _, _>(self.stream.take().unwrap(), |name, value| match name { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/group.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_movies(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/group.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_movies(path: &Path) -> Result> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_movies(path: &Path) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::io::Write` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write, PathBuf)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write, PathBuf)> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 108 | fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write + use<>, PathBuf)> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `gopro_merge` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/merge/ffmpeg/parser.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0107]: function takes 1 generic argument but 3 generic arguments were supplied [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | parse_command_stream::<(), _, _>(self.stream.take().unwrap(), |name, value| match name { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ------ help: remove the unnecessary generic arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: function defined here, with 1 generic parameter: `V` [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:103:4 [INFO] [stderr] | [INFO] [stderr] 103 | fn parse_command_stream( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ - [INFO] [stderr] = note: `impl Trait` cannot be explicitly specified as a generic argument [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | fn parse(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stderr] --> src/merge/ffmpeg/parser.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | parse_command_stream::<(), _, _>(self.stream.take().unwrap(), |name, value| match name { [INFO] [stderr] | ^^ [INFO] [stderr] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0107`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Default` will fail [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / parse_command_stream(self.stream.take().unwrap(), |name, value| match name { [INFO] [stdout] 70 | | "out_time" => { [INFO] [stdout] 71 | | let duration = self.parse_timestamp_match(value); [INFO] [stdout] 72 | | (self.cb)(duration); [INFO] [stdout] ... | [INFO] [stdout] 75 | | _ => None, [INFO] [stdout] 76 | | })?; [INFO] [stdout] | |__________^ [INFO] [stdout] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 69 | parse_command_stream::<(), _, _>(self.stream.take().unwrap(), |name, value| match name { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/group.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_movies(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/group.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_movies(path: &Path) -> Result> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 60 | fn collect_movies(path: &Path) -> Result + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::io::Write` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write, PathBuf)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write, PathBuf)> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 108 | fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write + use<>, PathBuf)> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.88s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking gopro-merge v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: Default` is not satisfied [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / parse_command_stream(self.stream.take().unwrap(), |name, value| match name { [INFO] [stdout] 70 | | "out_time" => { [INFO] [stdout] 71 | | let duration = self.parse_timestamp_match(value); [INFO] [stdout] 72 | | (self.cb)(duration); [INFO] [stdout] ... | [INFO] [stdout] 75 | | _ => None, [INFO] [stdout] 76 | | })?; [INFO] [stdout] | |__________^ the trait `Default` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `parse_command_stream` [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn parse_command_stream( [INFO] [stdout] | ^^^^^^^ required by this bound in `parse_command_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Default` is not satisfied [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / parse_command_stream(self.stream.take().unwrap(), |name, value| match name { [INFO] [stdout] 70 | | "out_time" => { [INFO] [stdout] 71 | | let duration = self.parse_timestamp_match(value); [INFO] [stdout] 72 | | (self.cb)(duration); [INFO] [stdout] ... | [INFO] [stdout] 75 | | _ => None, [INFO] [stdout] 76 | | })?; [INFO] [stdout] | |__________^ the trait `Default` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `parse_command_stream` [INFO] [stdout] --> src/merge/ffmpeg/parser.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn parse_command_stream( [INFO] [stdout] | ^^^^^^^ required by this bound in `parse_command_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | init_ffmpeg_input_file(&group.fingerprint.file.to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 77 | write_movies_to_input_file(ffmpeg_input_file, &movies_full_paths)?; [INFO] [stdout] | ----------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | init_ffmpeg_input_file(&group.fingerprint.file.to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 64 ~ let binding = group.fingerprint.file.to_string(); [INFO] [stdout] 65 ~ let (ffmpeg_input_file, ffmpeg_input_file_path) = [INFO] [stdout] 66 ~ init_ffmpeg_input_file(&binding)?; [INFO] [stdout] | [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 108| fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write + use<>, PathBuf)> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | init_ffmpeg_input_file(&group.fingerprint.file.to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 77 | write_movies_to_input_file(ffmpeg_input_file, &movies_full_paths)?; [INFO] [stdout] | ----------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/merge/ffmpeg/merger.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | init_ffmpeg_input_file(&group.fingerprint.file.to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 64 ~ let binding = group.fingerprint.file.to_string(); [INFO] [stdout] 65 ~ let (ffmpeg_input_file, ffmpeg_input_file_path) = [INFO] [stdout] 66 ~ init_ffmpeg_input_file(&binding)?; [INFO] [stdout] | [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 108| fn init_ffmpeg_input_file(filename: &str) -> Result<(impl Write + use<>, PathBuf)> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gopro-merge` (bin "gopro-merge") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gopro-merge` (bin "gopro-merge" test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7aa769ff89657f5449e148f1419c9759f894ae9f7cec21dd495254c4a5bfcc6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa769ff89657f5449e148f1419c9759f894ae9f7cec21dd495254c4a5bfcc6d", kill_on_drop: false }` [INFO] [stdout] 7aa769ff89657f5449e148f1419c9759f894ae9f7cec21dd495254c4a5bfcc6d