[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] checking ork821/mp4_splitter against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fork821%2Fmp4_splitter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ork821/mp4_splitter on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/ork821/byte_buffer` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a92efdfaf26000bc33e93b02c5dcc8fc67b59f1cd30f7e22a5e3d58ab59b8f83 [INFO] running `Command { std: "docker" "start" "-a" "a92efdfaf26000bc33e93b02c5dcc8fc67b59f1cd30f7e22a5e3d58ab59b8f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a92efdfaf26000bc33e93b02c5dcc8fc67b59f1cd30f7e22a5e3d58ab59b8f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92efdfaf26000bc33e93b02c5dcc8fc67b59f1cd30f7e22a5e3d58ab59b8f83", kill_on_drop: false }` [INFO] [stdout] a92efdfaf26000bc33e93b02c5dcc8fc67b59f1cd30f7e22a5e3d58ab59b8f83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4edbd8943667ac3092eed17c2915f4ab1ce7759f93dd5ef4d2884bcfbcd91dad [INFO] running `Command { std: "docker" "start" "-a" "4edbd8943667ac3092eed17c2915f4ab1ce7759f93dd5ef4d2884bcfbcd91dad", kill_on_drop: false }` [INFO] [stderr] Checking byte_buffer v0.1.0 (https://github.com/ork821/byte_buffer#cd0f66a3) [INFO] [stderr] Checking 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] 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] 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] | ^^^^^^^^^^^^^^^^^ `Trak` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Trak`, which is required by `&Vec: Debug` [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] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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[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] | ^^^^^^^^^^^^^^^^^ `Trak` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Trak`, which is required by `&Vec: Debug` [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] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `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[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[E0599]: no method named `as_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/trak.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | match name.as_str() { [INFO] [stdout] | -^^^^^^-- help: remove this method call [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[E0599]: no method named `as_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/trak.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | match name.as_str() { [INFO] [stdout] | -^^^^^^-- help: remove this method call [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[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: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: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: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: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[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[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] 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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:929: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] 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] 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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:929: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] 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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:929: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] 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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:929: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] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0507, E0596, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0507, E0596, E0599, E0609. [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 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mp4_splitter` (bin "mp4_splitter" test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "4edbd8943667ac3092eed17c2915f4ab1ce7759f93dd5ef4d2884bcfbcd91dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4edbd8943667ac3092eed17c2915f4ab1ce7759f93dd5ef4d2884bcfbcd91dad", kill_on_drop: false }` [INFO] [stdout] 4edbd8943667ac3092eed17c2915f4ab1ce7759f93dd5ef4d2884bcfbcd91dad