[INFO] updating cached repository https://github.com/foresterre/sic [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/foresterre/sic [INFO] [stderr] * [new branch] dependabot/cargo/image-0.22.4 -> dependabot/cargo/image-0.22.4 [INFO] [stderr] * [new branch] dependabot/cargo/num-iter-0.1.40 -> dependabot/cargo/num-iter-0.1.40 [INFO] [stderr] * [new branch] dependabot/cargo/num-rational-0.2.3 -> dependabot/cargo/num-rational-0.2.3 [INFO] [stderr] * [new branch] dependabot/cargo/png-0.15.3 -> dependabot/cargo/png-0.15.3 [INFO] [stderr] d6be486..262711f master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 262711ff7a7c110494315da9ac4437ae1967cd87 [INFO] checking foresterre/sic against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fsic" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foresterre/sic on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/foresterre/sic [INFO] removed workspace from git repo https://github.com/foresterre/sic [INFO] removed path dependency sic_core from git repo https://github.com/foresterre/sic [INFO] removed path dependency sic_image_engine from git repo https://github.com/foresterre/sic [INFO] removed path dependency sic_io from git repo https://github.com/foresterre/sic [INFO] removed path dependency sic_parser from git repo https://github.com/foresterre/sic [INFO] removed path dependency sic_testing from git repo https://github.com/foresterre/sic [INFO] finished tweaking git repo https://github.com/foresterre/sic [INFO] tweaked toml for git repo https://github.com/foresterre/sic written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/foresterre/sic already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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 `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ccc269303878594cc27f5890bde134793db3954afb612081c0aaac51146fa0b9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ccc269303878594cc27f5890bde134793db3954afb612081c0aaac51146fa0b9"` [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] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking sic_testing v0.10.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling sic v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.4 [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] [stderr] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stderr] --> src/app/cli.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use sic_image_engine::engine::Instr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stderr] --> src/app/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use sic_image_engine::engine::Instr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sic_image_engine::engine::EnvItem`, `sic_image_engine::engine::Instr`, `sic_image_engine::engine::ItemName` [INFO] [stderr] --> src/app/operations.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | use sic_image_engine::engine::{EnvItem, Instr, ItemName}; [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^^^^^ no `ItemName` in `engine` [INFO] [stderr] | | | [INFO] [stderr] | | no `Instr` in `engine` [INFO] [stderr] | no `EnvItem` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stderr] --> src/app/cli.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use sic_image_engine::engine::Instr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stderr] --> src/app/operations.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use sic_image_engine::ImgOp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stderr] --> src/app/cli.rs:494:9 [INFO] [stderr] | [INFO] [stderr] 494 | use sic_image_engine::engine::Instr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stderr] --> src/app/cli.rs:495:9 [INFO] [stderr] | [INFO] [stderr] 495 | use sic_image_engine::ImgOp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stderr] --> src/app/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use sic_image_engine::engine::Instr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::engine::Instr` [INFO] [stderr] --> src/app/config.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | use sic_image_engine::engine::Instr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Instr` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stderr] --> src/app/config.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | use sic_image_engine::ImgOp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sic_image_engine::engine::EnvItem`, `sic_image_engine::engine::Instr`, `sic_image_engine::engine::ItemName` [INFO] [stderr] --> src/app/operations.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | use sic_image_engine::engine::{EnvItem, Instr, ItemName}; [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^^^^^ no `ItemName` in `engine` [INFO] [stderr] | | | [INFO] [stderr] | | no `Instr` in `engine` [INFO] [stderr] | no `EnvItem` in `engine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_parser::errors` [INFO] [stderr] --> src/app/operations.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use sic_parser::errors::SicParserError; [INFO] [stderr] | ^^^^^^ could not find `errors` in `sic_parser` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_image_engine::ImgOp` [INFO] [stderr] --> src/app/operations.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use sic_image_engine::ImgOp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ImgOp` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sic_parser::errors` [INFO] [stderr] --> src/app/operations.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use sic_parser::errors::SicParserError; [INFO] [stderr] | ^^^^^^ could not find `errors` in `sic_parser` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/cli.rs:416:41 [INFO] [stderr] | [INFO] [stderr] 416 | sic_parser::parse_script(script)? [INFO] [stderr] | ^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/cli.rs:416:41 [INFO] [stderr] | [INFO] [stderr] 416 | sic_parser::parse_script(script)? [INFO] [stderr] | ^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/app/config.rs:72:39 [INFO] [stderr] | [INFO] [stderr] 72 | image_operations_program: Vec::new(), [INFO] [stderr] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/app/config.rs:72:39 [INFO] [stderr] | [INFO] [stderr] 72 | image_operations_program: Vec::new(), [INFO] [stderr] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 106 | OperationId::Blur => Instr::Operation(ImgOp::Blur(parse_inputs_by_type!(inputs, f32)?)), [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 108 | Instr::Operation(ImgOp::Brighten(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 106 | OperationId::Blur => Instr::Operation(ImgOp::Blur(parse_inputs_by_type!(inputs, f32)?)), [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 111 | Instr::Operation(ImgOp::Contrast(parse_inputs_by_type!(inputs, f32)?)) [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 108 | Instr::Operation(ImgOp::Brighten(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 111 | Instr::Operation(ImgOp::Contrast(parse_inputs_by_type!(inputs, f32)?)) [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 113 | OperationId::Crop => Instr::Operation(ImgOp::Crop(parse_inputs_by_type!( [INFO] [stderr] | _______________________________________________________________- [INFO] [stderr] 114 | | inputs, [INFO] [stderr] 115 | | (u32, u32, u32, u32) [INFO] [stderr] 116 | | )?)), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32, u32, u32), std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 113 | OperationId::Crop => Instr::Operation(ImgOp::Crop(parse_inputs_by_type!( [INFO] [stderr] | _______________________________________________________________- [INFO] [stderr] 114 | | inputs, [INFO] [stderr] 115 | | (u32, u32, u32, u32) [INFO] [stderr] 116 | | )?)), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32, u32, u32), std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 118 | Instr::Operation(ImgOp::Filter3x3(parse_inputs_by_type!(inputs, [f32; 9])?)) [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<[f32; 9], std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 124 | Instr::Operation(ImgOp::HueRotate(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 118 | Instr::Operation(ImgOp::Filter3x3(parse_inputs_by_type!(inputs, [f32; 9])?)) [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<[f32; 9], std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 128 | Instr::Operation(ImgOp::Resize(parse_inputs_by_type!(inputs, (u32, u32))?)) [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32), std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 124 | Instr::Operation(ImgOp::HueRotate(parse_inputs_by_type!(inputs, i32)?)) [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 134 | Instr::Operation(ImgOp::Unsharpen(parse_inputs_by_type!(inputs, (f32, i32))?)) [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(f32, i32), std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 128 | Instr::Operation(ImgOp::Resize(parse_inputs_by_type!(inputs, (u32, u32))?)) [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(u32, u32), std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 138 | let toggle = parse_inputs_by_type!(inputs, bool)?; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 134 | Instr::Operation(ImgOp::Unsharpen(parse_inputs_by_type!(inputs, (f32, i32))?)) [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result<(f32, i32), std::string::String>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 146 | let input = parse_inputs_by_type!(inputs, String)?; [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 138 | let toggle = parse_inputs_by_type!(inputs, bool)?; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/operations.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | .with_context(|| format!("Failed to parse value of type {}.", stringify!($ty))); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `std::string::String` [INFO] [stderr] ... [INFO] [stderr] 146 | let input = parse_inputs_by_type!(inputs, String)?; [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::ext::StdError` for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `anyhow::context::private::Sealed` for `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sic_io::load::ImportError: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/procedure.rs:38:6 [INFO] [stderr] | [INFO] [stderr] 38 | )?; [INFO] [stderr] | ^ the trait `std::error::Error` is not implemented for `sic_io::load::ImportError` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_context` found for enum `std::result::Result<&image::dynimage::DynamicImage, std::boxed::Box<(dyn std::error::Error + 'static)>>` in the current scope [INFO] [stderr] --> src/app/procedure.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | .with_context(|| "Unable to apply image operations.")?; [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::result::Result<&image::dynimage::DynamicImage, std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] | [INFO] [stderr] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result<&image::dynimage::DynamicImage, std::boxed::Box> : anyhow::Context<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stderr] --> src/app/procedure.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | )?) [INFO] [stderr] | ^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because of the requirements on the impl of `std::error::Error` for `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] --> src/app/procedure.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | )?) [INFO] [stderr] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] --> src/app/procedure.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | )?) [INFO] [stderr] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sync` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stderr] --> src/app/procedure.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | }?; [INFO] [stderr] | ^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because of the requirements on the impl of `std::error::Error` for `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] --> src/app/procedure.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | }?; [INFO] [stderr] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] --> src/app/procedure.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | }?; [INFO] [stderr] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sync` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/app/procedure.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | &mut export_writer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `sic_io::save::ExportMethod`, found mutable reference [INFO] [stderr] | help: try using a variant of the expected enum: `sic_io::save::ExportMethod::File(&mut export_writer)` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `sic_io::save::ExportMethod<_>` [INFO] [stderr] found mutable reference `&mut std::boxed::Box` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_context` found for enum `std::result::Result<(), std::string::String>` in the current scope [INFO] [stderr] --> src/app/procedure.rs:76:6 [INFO] [stderr] | [INFO] [stderr] 76 | .with_context(|| "Unable to save image.") [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::result::Result<(), std::string::String>` [INFO] [stderr] | [INFO] [stderr] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result<(), std::string::String> : anyhow::Context<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sic_io::load::ImportError: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/procedure.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | sic_io::load::stdin_reader()? [INFO] [stderr] | ^ the trait `std::error::Error` is not implemented for `sic_io::load::ImportError` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_context` found for enum `std::result::Result, sic_io::load::ImportError>` in the current scope [INFO] [stderr] --> src/app/procedure.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | .with_context(|| "No matching file reader could be found.") [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::result::Result, sic_io::load::ImportError>` [INFO] [stderr] | [INFO] [stderr] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result, sic_io::load::ImportError> : anyhow::Context<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sic_io::load::ImportError: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/procedure.rs:38:6 [INFO] [stderr] | [INFO] [stderr] 38 | )?; [INFO] [stderr] | ^ the trait `std::error::Error` is not implemented for `sic_io::load::ImportError` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_context` found for enum `std::result::Result<&image::dynimage::DynamicImage, std::boxed::Box<(dyn std::error::Error + 'static)>>` in the current scope [INFO] [stderr] --> src/app/procedure.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | .with_context(|| "Unable to apply image operations.")?; [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::result::Result<&image::dynimage::DynamicImage, std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] | [INFO] [stderr] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result<&image::dynimage::DynamicImage, std::boxed::Box> : anyhow::Context<_, _>` [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0282, E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `sic`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stderr] --> src/app/procedure.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | )?) [INFO] [stderr] | ^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because of the requirements on the impl of `std::error::Error` for `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] --> src/app/procedure.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | )?) [INFO] [stderr] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] --> src/app/procedure.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | )?) [INFO] [stderr] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sync` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stderr] --> src/app/procedure.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | }?; [INFO] [stderr] | ^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because of the requirements on the impl of `std::error::Error` for `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] --> src/app/procedure.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | }?; [INFO] [stderr] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] --> src/app/procedure.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | }?; [INFO] [stderr] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sync` is not implemented for `dyn std::error::Error` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From>` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/app/procedure.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | &mut export_writer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `sic_io::save::ExportMethod`, found mutable reference [INFO] [stderr] | help: try using a variant of the expected enum: `sic_io::save::ExportMethod::File(&mut export_writer)` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `sic_io::save::ExportMethod<_>` [INFO] [stderr] found mutable reference `&mut std::boxed::Box` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_context` found for enum `std::result::Result<(), std::string::String>` in the current scope [INFO] [stderr] --> src/app/procedure.rs:76:6 [INFO] [stderr] | [INFO] [stderr] 76 | .with_context(|| "Unable to save image.") [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::result::Result<(), std::string::String>` [INFO] [stderr] | [INFO] [stderr] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result<(), std::string::String> : anyhow::Context<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sic_io::load::ImportError: std::error::Error` is not satisfied [INFO] [stderr] --> src/app/procedure.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | sic_io::load::stdin_reader()? [INFO] [stderr] | ^ the trait `std::error::Error` is not implemented for `sic_io::load::ImportError` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::From` for `anyhow::Error` [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_context` found for enum `std::result::Result, sic_io::load::ImportError>` in the current scope [INFO] [stderr] --> src/app/procedure.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | .with_context(|| "No matching file reader could be found.") [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::result::Result, sic_io::load::ImportError>` [INFO] [stderr] | [INFO] [stderr] = note: the method `with_context` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result, sic_io::load::ImportError> : anyhow::Context<_, _>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 33 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0282, E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `sic`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ccc269303878594cc27f5890bde134793db3954afb612081c0aaac51146fa0b9"` [INFO] running `"docker" "rm" "-f" "ccc269303878594cc27f5890bde134793db3954afb612081c0aaac51146fa0b9"` [INFO] [stdout] ccc269303878594cc27f5890bde134793db3954afb612081c0aaac51146fa0b9