[INFO] cloning repository https://github.com/foresterre/sic-automate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foresterre/sic-automate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fsic-automate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fsic-automate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 095e07b0cd908c4ff54c5eaf116a6c69f8f99897 [INFO] checking foresterre/sic-automate against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fsic-automate" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foresterre/sic-automate on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foresterre/sic-automate [INFO] removed workspace from git repo https://github.com/foresterre/sic-automate [INFO] removed path dependency sic_core from git repo https://github.com/foresterre/sic-automate [INFO] removed path dependency sic_image_engine from git repo https://github.com/foresterre/sic-automate [INFO] removed path dependency sic_io from git repo https://github.com/foresterre/sic-automate [INFO] removed path dependency sic_parser from git repo https://github.com/foresterre/sic-automate [INFO] removed path dependency sic_testing from git repo https://github.com/foresterre/sic-automate [INFO] finished tweaking git repo https://github.com/foresterre/sic-automate [INFO] tweaked toml for git repo https://github.com/foresterre/sic-automate written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/foresterre/sic-automate already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sic_testing) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sic_testing) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parameterized v0.2.0 [INFO] [stderr] Downloaded parameterized-macro v0.2.0 [INFO] [stderr] Downloaded sic_core v0.14.0 [INFO] [stderr] Downloaded sic_testing v0.14.0 [INFO] [stderr] Downloaded sic_io v0.10.0 [INFO] [stderr] Downloaded sic_core v0.10.0 [INFO] [stderr] Downloaded sic_parser v0.10.0 [INFO] [stderr] Downloaded sic_image_engine v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39ff1ccdd7384720e03daaccdd956911946f6e2cb5ef1856e1f0a1535acb3c9e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "39ff1ccdd7384720e03daaccdd956911946f6e2cb5ef1856e1f0a1535acb3c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39ff1ccdd7384720e03daaccdd956911946f6e2cb5ef1856e1f0a1535acb3c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ff1ccdd7384720e03daaccdd956911946f6e2cb5ef1856e1f0a1535acb3c9e", kill_on_drop: false }` [INFO] [stdout] 39ff1ccdd7384720e03daaccdd956911946f6e2cb5ef1856e1f0a1535acb3c9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33ae38cceed9f3d4e98f9dd98162b72acd37c02a0b6cfa093294c2bfbf6cfe5d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "33ae38cceed9f3d4e98f9dd98162b72acd37c02a0b6cfa093294c2bfbf6cfe5d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sic_testing) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon-core v1.8.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rayon v1.4.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling sic v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling parameterized-macro v0.2.0 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking parameterized v0.2.0 [INFO] [stderr] Checking sic_core v0.14.0 [INFO] [stderr] Checking sic_testing v0.14.0 [INFO] [stderr] Checking sic_core v0.10.0 [INFO] [stderr] Checking sic_image_engine v0.10.0 [INFO] [stderr] Checking sic_io v0.10.0 [INFO] [stderr] Checking sic_parser v0.10.0 [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stdout] --> src/app/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sic_image_engine::engine::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stdout] --> src/app/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sic_image_engine::engine::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sic_image_engine::engine::EnvItem`, `sic_image_engine::engine::Instr`, `sic_image_engine::engine::ItemName` [INFO] [stdout] --> src/app/operations.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use sic_image_engine::engine::{EnvItem, Instr, ItemName}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^ no `ItemName` in `engine` [INFO] [stdout] | | | [INFO] [stdout] | | no `Instr` in `engine` [INFO] [stdout] | no `EnvItem` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stdout] --> src/app/operations.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sic_image_engine::ImgOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_parser::errors` [INFO] [stdout] --> src/app/operations.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use sic_parser::errors::SicParserError; [INFO] [stdout] | ^^^^^^ could not find `errors` in `sic_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stdout] --> src/app/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sic_image_engine::engine::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stdout] --> src/app/cli.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | use sic_image_engine::engine::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stdout] --> src/app/cli.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | use sic_image_engine::ImgOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stdout] --> src/app/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sic_image_engine::engine::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stdout] --> src/app/config.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | use sic_image_engine::engine::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stdout] --> src/app/config.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | use sic_image_engine::ImgOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sic_image_engine::engine::EnvItem`, `sic_image_engine::engine::Instr`, `sic_image_engine::engine::ItemName` [INFO] [stdout] --> src/app/operations.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use sic_image_engine::engine::{EnvItem, Instr, ItemName}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^ no `ItemName` in `engine` [INFO] [stdout] | | | [INFO] [stdout] | | no `Instr` in `engine` [INFO] [stdout] | no `EnvItem` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stdout] --> src/app/operations.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sic_image_engine::ImgOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sic_parser::errors` [INFO] [stdout] --> src/app/operations.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use sic_parser::errors::SicParserError; [INFO] [stdout] | ^^^^^^ could not find `errors` in `sic_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/cli.rs:416:41 [INFO] [stdout] | [INFO] [stdout] 416 | sic_parser::parse_script(script)? [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/app/config.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | image_operations_program: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 106 | OperationId::Blur => Instr::Operation(ImgOp::Blur(parse_inputs_by_type!(inputs, f32)?)), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 108 | Instr::Operation(ImgOp::Brighten(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 111 | Instr::Operation(ImgOp::Contrast(parse_inputs_by_type!(inputs, f32)?)) [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 113 | OperationId::Crop => Instr::Operation(ImgOp::Crop(parse_inputs_by_type!( [INFO] [stdout] | _______________________________________________________________- [INFO] [stdout] 114 | | inputs, [INFO] [stdout] 115 | | (u32, u32, u32, u32) [INFO] [stdout] 116 | | )?)), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32, u32, u32), String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 118 | Instr::Operation(ImgOp::Filter3x3(parse_inputs_by_type!(inputs, [f32; 9])?)) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<[f32; 9], String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 124 | Instr::Operation(ImgOp::HueRotate(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 128 | Instr::Operation(ImgOp::Resize(parse_inputs_by_type!(inputs, (u32, u32))?)) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32), String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 134 | Instr::Operation(ImgOp::Unsharpen(parse_inputs_by_type!(inputs, (f32, i32))?)) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(f32, i32), String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 138 | let toggle = parse_inputs_by_type!(inputs, bool)?; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 146 | let input = parse_inputs_by_type!(inputs, String)?; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/cli.rs:416:41 [INFO] [stdout] | [INFO] [stdout] 416 | sic_parser::parse_script(script)? [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ImportError: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/procedure.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | )?; [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `ImportError` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result<&DynamicImage, Box<(dyn std::error::Error + 'static)>>` in the current scope [INFO] [stdout] --> src/app/procedure.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | .with_context(|| "Unable to apply image operations.")?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result<&DynamicImage, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Box: anyhow::context::ext::StdError` [INFO] [stdout] which is required by `std::result::Result<&DynamicImage, Box>: anyhow::Context<&DynamicImage, Box>` [INFO] [stdout] `Box: Send` [INFO] [stdout] which is required by `std::result::Result<&DynamicImage, Box>: anyhow::Context<&DynamicImage, Box>` [INFO] [stdout] `Box: Sync` [INFO] [stdout] which is required by `std::result::Result<&DynamicImage, Box>: anyhow::Context<&DynamicImage, Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/app/procedure.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | )?) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::error::Error` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/app/procedure.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | )?) [INFO] [stdout] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] --> src/app/procedure.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | )?) [INFO] [stdout] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/app/procedure.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::error::Error` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/app/procedure.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] --> src/app/procedure.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/app/config.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | image_operations_program: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 106 | OperationId::Blur => Instr::Operation(ImgOp::Blur(parse_inputs_by_type!(inputs, f32)?)), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 108 | Instr::Operation(ImgOp::Brighten(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 111 | Instr::Operation(ImgOp::Contrast(parse_inputs_by_type!(inputs, f32)?)) [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 113 | OperationId::Crop => Instr::Operation(ImgOp::Crop(parse_inputs_by_type!( [INFO] [stdout] | _______________________________________________________________- [INFO] [stdout] 114 | | inputs, [INFO] [stdout] 115 | | (u32, u32, u32, u32) [INFO] [stdout] 116 | | )?)), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32, u32, u32), String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 118 | Instr::Operation(ImgOp::Filter3x3(parse_inputs_by_type!(inputs, [f32; 9])?)) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<[f32; 9], String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 124 | Instr::Operation(ImgOp::HueRotate(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 128 | Instr::Operation(ImgOp::Resize(parse_inputs_by_type!(inputs, (u32, u32))?)) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32), String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 134 | Instr::Operation(ImgOp::Unsharpen(parse_inputs_by_type!(inputs, (f32, i32))?)) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(f32, i32), String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 138 | let toggle = parse_inputs_by_type!(inputs, bool)?; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/operations.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `String` [INFO] [stdout] ... [INFO] [stdout] 146 | let input = parse_inputs_by_type!(inputs, String)?; [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `String` [INFO] [stdout] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app/procedure.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &mut export_writer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ExportMethod`, found mutable reference [INFO] [stdout] | help: try using a variant of the expected enum: `sic_io::save::ExportMethod::File(&mut export_writer)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExportMethod<_>` [INFO] [stdout] found mutable reference `&mut Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result<(), String>` in the current scope [INFO] [stdout] --> src/app/procedure.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | .with_context(|| "Unable to save image.") [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result<(), String>` [INFO] [stdout] | [INFO] [stdout] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stdout] `String: anyhow::context::ext::StdError` [INFO] [stdout] which is required by `std::result::Result<(), String>: anyhow::Context<(), String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ImportError: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/procedure.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | sic_io::load::stdin_reader()? [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `ImportError` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result, ImportError>` in the current scope [INFO] [stdout] --> src/app/procedure.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | .with_context(|| "No matching file reader could be found.") [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result, ImportError>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sic_io-0.10.0/src/load.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum ImportError { [INFO] [stdout] | -------------------- doesn't satisfy `ImportError: anyhow::context::ext::StdError` [INFO] [stdout] | [INFO] [stdout] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ImportError: anyhow::context::ext::StdError` [INFO] [stdout] which is required by `std::result::Result, ImportError>: anyhow::Context, ImportError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sic` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `ImportError: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/procedure.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | )?; [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `ImportError` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result<&DynamicImage, Box<(dyn std::error::Error + 'static)>>` in the current scope [INFO] [stdout] --> src/app/procedure.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | .with_context(|| "Unable to apply image operations.")?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result<&DynamicImage, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Box: anyhow::context::ext::StdError` [INFO] [stdout] which is required by `std::result::Result<&DynamicImage, Box>: anyhow::Context<&DynamicImage, Box>` [INFO] [stdout] `Box: Send` [INFO] [stdout] which is required by `std::result::Result<&DynamicImage, Box>: anyhow::Context<&DynamicImage, Box>` [INFO] [stdout] `Box: Sync` [INFO] [stdout] which is required by `std::result::Result<&DynamicImage, Box>: anyhow::Context<&DynamicImage, Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/app/procedure.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | )?) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::error::Error` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/app/procedure.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | )?) [INFO] [stdout] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] --> src/app/procedure.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | )?) [INFO] [stdout] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/app/procedure.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::error::Error` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/app/procedure.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] --> src/app/procedure.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app/procedure.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &mut export_writer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ExportMethod`, found mutable reference [INFO] [stdout] | help: try using a variant of the expected enum: `sic_io::save::ExportMethod::File(&mut export_writer)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExportMethod<_>` [INFO] [stdout] found mutable reference `&mut Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result<(), String>` in the current scope [INFO] [stdout] --> src/app/procedure.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | .with_context(|| "Unable to save image.") [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result<(), String>` [INFO] [stdout] | [INFO] [stdout] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stdout] `String: anyhow::context::ext::StdError` [INFO] [stdout] which is required by `std::result::Result<(), String>: anyhow::Context<(), String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ImportError: std::error::Error` is not satisfied [INFO] [stdout] --> src/app/procedure.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | sic_io::load::stdin_reader()? [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `ImportError` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `anyhow::Error` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result, ImportError>` in the current scope [INFO] [stdout] --> src/app/procedure.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | .with_context(|| "No matching file reader could be found.") [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result, ImportError>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sic_io-0.10.0/src/load.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum ImportError { [INFO] [stdout] | -------------------- doesn't satisfy `ImportError: anyhow::context::ext::StdError` [INFO] [stdout] | [INFO] [stdout] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ImportError: anyhow::context::ext::StdError` [INFO] [stdout] which is required by `std::result::Result, ImportError>: anyhow::Context, ImportError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0432, E0599. [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" "33ae38cceed9f3d4e98f9dd98162b72acd37c02a0b6cfa093294c2bfbf6cfe5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ae38cceed9f3d4e98f9dd98162b72acd37c02a0b6cfa093294c2bfbf6cfe5d", kill_on_drop: false }` [INFO] [stdout] 33ae38cceed9f3d4e98f9dd98162b72acd37c02a0b6cfa093294c2bfbf6cfe5d