[INFO] cloning repository https://github.com/Kneelawk/julia-in-motion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kneelawk/julia-in-motion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKneelawk%2Fjulia-in-motion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKneelawk%2Fjulia-in-motion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6165ef517d1cdddc8df259e39e8a621d20ad4db2 [INFO] checking Kneelawk/julia-in-motion against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKneelawk%2Fjulia-in-motion" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kneelawk/julia-in-motion on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kneelawk/julia-in-motion [INFO] finished tweaking git repo https://github.com/Kneelawk/julia-in-motion [INFO] tweaked toml for git repo https://github.com/Kneelawk/julia-in-motion written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/Kneelawk/julia-in-motion already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d942e0d58dbb7353a958427a17a6c5948ac00cdfc4f89c7cca4c8ab408f3dd83 [INFO] running `Command { std: "docker" "start" "-a" "d942e0d58dbb7353a958427a17a6c5948ac00cdfc4f89c7cca4c8ab408f3dd83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d942e0d58dbb7353a958427a17a6c5948ac00cdfc4f89c7cca4c8ab408f3dd83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d942e0d58dbb7353a958427a17a6c5948ac00cdfc4f89c7cca4c8ab408f3dd83", kill_on_drop: false }` [INFO] [stdout] d942e0d58dbb7353a958427a17a6c5948ac00cdfc4f89c7cca4c8ab408f3dd83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec3d4df6d01f87ff0e923dce17da2611a6782775cf21d3d281378fe9bc1cd22a [INFO] running `Command { std: "docker" "start" "-a" "ec3d4df6d01f87ff0e923dce17da2611a6782775cf21d3d281378fe9bc1cd22a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking wayland-sys v0.24.1 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling ffmpeg4 v0.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling minifb v0.15.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.24.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking euclid v0.20.7 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking backtrace-sys v0.1.32 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking backtrace v0.3.43 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Checking lyon_geom v0.15.0 [INFO] [stderr] Checking lyon_path v0.15.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling wayland-client v0.24.1 [INFO] [stderr] Compiling wayland-protocols v0.24.1 [INFO] [stderr] Checking lyon_algorithms v0.15.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Checking wayland-commons v0.24.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking xmlparser v0.3.0 [INFO] [stderr] Checking svgparser v0.8.1 [INFO] [stderr] Checking lyon_svg v0.15.0 [INFO] [stderr] Compiling ffmpeg4-sys v4.2.2 [INFO] [stderr] Checking julia-in-motion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/output/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{option::NoneError, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/output/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{option::NoneError, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/output/mod.rs:26:83 [INFO] [stdout] | [INFO] [stdout] 17 | / pub fn new, R: Into>( [INFO] [stdout] 18 | | path: &P, [INFO] [stdout] 19 | | width: u32, [INFO] [stdout] 20 | | height: u32, [INFO] [stdout] ... | [INFO] [stdout] 26 | | encoder::find(format_context.format().codec(path, media::Type::Video))?.video()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/output/mod.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 72 | / pub fn write_frame( [INFO] [stdout] 73 | | &mut self, [INFO] [stdout] 74 | | frame: &frame::Video, [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 83 | | self.format_context.stream(0)?.time_base(), [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/output/mod.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 93 | / pub fn finish(&mut self) -> Result { [INFO] [stdout] 94 | | let mut res = MediaWriteResult::NoPacketWritten; [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | // sometimes there are a bunch of unwritten frames [INFO] [stdout] ... | [INFO] [stdout] 101 | | self.format_context.stream(0)?.time_base(), [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 110 | | Ok(res) [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `julia-in-motion` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/output/mod.rs:26:83 [INFO] [stdout] | [INFO] [stdout] 17 | / pub fn new, R: Into>( [INFO] [stdout] 18 | | path: &P, [INFO] [stdout] 19 | | width: u32, [INFO] [stdout] 20 | | height: u32, [INFO] [stdout] ... | [INFO] [stdout] 26 | | encoder::find(format_context.format().codec(path, media::Type::Video))?.video()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/output/mod.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 72 | / pub fn write_frame( [INFO] [stdout] 73 | | &mut self, [INFO] [stdout] 74 | | frame: &frame::Video, [INFO] [stdout] 75 | | ) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 83 | | self.format_context.stream(0)?.time_base(), [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/output/mod.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 93 | / pub fn finish(&mut self) -> Result { [INFO] [stdout] 94 | | let mut res = MediaWriteResult::NoPacketWritten; [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | // sometimes there are a bunch of unwritten frames [INFO] [stdout] ... | [INFO] [stdout] 101 | | self.format_context.stream(0)?.time_base(), [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 110 | | Ok(res) [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ec3d4df6d01f87ff0e923dce17da2611a6782775cf21d3d281378fe9bc1cd22a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec3d4df6d01f87ff0e923dce17da2611a6782775cf21d3d281378fe9bc1cd22a", kill_on_drop: false }` [INFO] [stdout] ec3d4df6d01f87ff0e923dce17da2611a6782775cf21d3d281378fe9bc1cd22a