[INFO] cloning repository https://github.com/ork821/mp4_splitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ork821/mp4_splitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fork821%2Fmp4_splitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fork821%2Fmp4_splitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f63cfbcee5e5c752925086705bcaf1aa0b6b6266 [INFO] testing ork821/mp4_splitter against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fork821%2Fmp4_splitter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ork821/mp4_splitter [INFO] finished tweaking git repo https://github.com/ork821/mp4_splitter [INFO] tweaked toml for git repo https://github.com/ork821/mp4_splitter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ork821/mp4_splitter on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ork821/mp4_splitter 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c5a9798a94773153d0b328d05c0868c87a64dc6c8d4505c70946a7ebe373367 [INFO] running `Command { std: "docker" "start" "-a" "9c5a9798a94773153d0b328d05c0868c87a64dc6c8d4505c70946a7ebe373367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c5a9798a94773153d0b328d05c0868c87a64dc6c8d4505c70946a7ebe373367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5a9798a94773153d0b328d05c0868c87a64dc6c8d4505c70946a7ebe373367", kill_on_drop: false }` [INFO] [stdout] 9c5a9798a94773153d0b328d05c0868c87a64dc6c8d4505c70946a7ebe373367 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d588b20d2ef803f8c4516e3b32cfd3399a7cb2687df4c8204311756fb38ab20a [INFO] running `Command { std: "docker" "start" "-a" "d588b20d2ef803f8c4516e3b32cfd3399a7cb2687df4c8204311756fb38ab20a", kill_on_drop: false }` [INFO] [stderr] Compiling byte_buffer v0.1.0 (https://github.com/ork821/byte_buffer#cd0f66a3) [INFO] [stderr] Compiling mp4_splitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `this` in this scope [INFO] [stdout] --> src/trak.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | this.stsc.push(buffer.ger); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: you might have meant to use `self` here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/trak.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | if (i == entry_count - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - if (i == entry_count - 1) { [INFO] [stdout] 165 + if i == entry_count - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Trak` doesn't implement `Debug` [INFO] [stdout] --> src/mp4_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 7 | traks : Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Trak` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Trak` or manually `impl Debug for Trak` [INFO] [stdout] = help: the trait `Debug` is implemented for `Vec` [INFO] [stdout] help: consider annotating `Trak` with `#[derive(Debug)]` [INFO] [stdout] --> src/trak.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #[derive(Debug)] [INFO] [stdout] 4 | pub struct Trak { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyse_name` in this scope [INFO] [stdout] --> src/trak.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | analyse_name(name, data); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 51 | self.analyse_name(name, data); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `calculate_data` in this scope [INFO] [stdout] --> src/trak.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | Some(stss) => calculate_data(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 56 | Some(stss) => self.calculate_data(), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `str_as_str` [INFO] [stdout] --> src/trak.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | match name.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130366 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extractStts` in this scope [INFO] [stdout] --> src/trak.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | "stts" => extractStts(data), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extractStsz` in this scope [INFO] [stdout] --> src/trak.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | "stsz" => extractStsz(data), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extractStco` in this scope [INFO] [stdout] --> src/trak.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | "stco" => extractStco(data), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extractStsc` in this scope [INFO] [stdout] --> src/trak.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | "stsc" => extractStsc(data), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extractStss` in this scope [INFO] [stdout] --> src/trak.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | "stss" => extractStss(data), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getInt32` found for struct `Buffer` in the current scope [INFO] [stdout] --> src/trak.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | let entry_count = buffer.getInt32(); [INFO] [stdout] | ^^^^^^^^ method not found in `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getInt32` found for struct `Buffer` in the current scope [INFO] [stdout] --> src/trak.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | let count = buffer.getInt32(); [INFO] [stdout] | ^^^^^^^^ method not found in `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getInt32` found for struct `Buffer` in the current scope [INFO] [stdout] --> src/trak.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | let delta = buffer.getInt32(); [INFO] [stdout] | ^^^^^^^^ method not found in `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getInt32` found for struct `Buffer` in the current scope [INFO] [stdout] --> src/trak.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | let sample_size = buffer.getInt32(); [INFO] [stdout] | ^^^^^^^^ method not found in `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getInt32` found for struct `Buffer` in the current scope [INFO] [stdout] --> src/trak.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let entry_count = buffer.getInt32(); [INFO] [stdout] | ^^^^^^^^ method not found in `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ger` on type `Buffer` [INFO] [stdout] --> src/trak.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | this.stsc.push(buffer.ger); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `trak` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/trak.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | trak.parse(data); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 21 | let mut trak = Trak{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stss` [INFO] [stdout] --> src/trak.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let stss = self.stss.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.stss` which is behind a mutable reference [INFO] [stdout] --> src/trak.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let stss = self.stss.unwrap(); [INFO] [stdout] | ^^^^^^^^^ -------- `self.stss` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | help: consider calling `.as_ref()` or `.as_mut()` to borrow the type's contents [INFO] [stdout] | move occurs because `self.stss` has type `Option>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Option::::unwrap` takes ownership of the receiver `self`, which moves `self.stss` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/option.rs:1007:25 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 98 | let stss = > as Clone>::clone(&self.stss).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 98 | let stss = self.stss.clone().unwrap(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/trak.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | for i in 0..entry_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/trak.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | for i in 0..entry_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.stts` which is behind a mutable reference [INFO] [stdout] --> src/trak.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | let last = self.stts.unwrap().len() as u32; [INFO] [stdout] | ^^^^^^^^^ -------- `self.stts` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | help: consider calling `.as_ref()` or `.as_mut()` to borrow the type's contents [INFO] [stdout] | move occurs because `self.stts` has type `Option>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Option::::unwrap` takes ownership of the receiver `self`, which moves `self.stts` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/option.rs:1007:25 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 183 | let last = > as Clone>::clone(&self.stts).unwrap().len() as u32; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 183 | let last = self.stts.clone().unwrap().len() as u32; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut counter : usize = 8; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0507, E0596, E0599, E0609, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mp4_splitter` (bin "mp4_splitter") due to 19 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d588b20d2ef803f8c4516e3b32cfd3399a7cb2687df4c8204311756fb38ab20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d588b20d2ef803f8c4516e3b32cfd3399a7cb2687df4c8204311756fb38ab20a", kill_on_drop: false }` [INFO] [stdout] d588b20d2ef803f8c4516e3b32cfd3399a7cb2687df4c8204311756fb38ab20a