[INFO] cloning repository https://github.com/haptics-nri/bible-extractor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haptics-nri/bible-extractor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaptics-nri%2Fbible-extractor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaptics-nri%2Fbible-extractor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3d9b6a1f03c8a9148682168864c460cb21c2f77 [INFO] checking haptics-nri/bible-extractor against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaptics-nri%2Fbible-extractor" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haptics-nri/bible-extractor on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/haptics-nri/bible-extractor [INFO] finished tweaking git repo https://github.com/haptics-nri/bible-extractor [INFO] tweaked toml for git repo https://github.com/haptics-nri/bible-extractor written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/haptics-nri/bible-extractor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d807a34e98006388119fbc85eae1f0d86f37584e58d01a5de99b7d73b14ad65f [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" "d807a34e98006388119fbc85eae1f0d86f37584e58d01a5de99b7d73b14ad65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d807a34e98006388119fbc85eae1f0d86f37584e58d01a5de99b7d73b14ad65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d807a34e98006388119fbc85eae1f0d86f37584e58d01a5de99b7d73b14ad65f", kill_on_drop: false }` [INFO] [stdout] d807a34e98006388119fbc85eae1f0d86f37584e58d01a5de99b7d73b14ad65f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae11b5fa146ccde4ac5e61a4ede4945f7c71a0594db447a0a6c3fbb9a892c3d2 [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" "ae11b5fa146ccde4ac5e61a4ede4945f7c71a0594db447a0a6c3fbb9a892c3d2", kill_on_drop: false }` [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking serde v1.0.11 [INFO] [stderr] Checking if_chain v0.1.2 [INFO] [stderr] Checking closet v0.2.2 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking backtrace v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.11 [INFO] [stderr] Checking itertools v0.6.2 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking error-chain v0.11.0-rc.2 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking globset v0.2.0 (git://github.com/haptics-nri/ripgrep?branch=group-defaults#5cb1600a) [INFO] [stderr] Checking ignore v0.2.2 (git://github.com/haptics-nri/ripgrep?branch=group-defaults#5cb1600a) [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking extract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: found removed `do catch` syntax [INFO] [stdout] --> src/main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = do catch { [INFO] [stdout] | ^^^^^^^^ help: replace with the new syntax: `try` [INFO] [stdout] | [INFO] [stdout] = note: following RFC #2388, the new non-placeholder syntax is `try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: found removed `do catch` syntax [INFO] [stdout] --> src/main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = do catch { [INFO] [stdout] | ^^^^^^^^ help: replace with the new syntax: `try` [INFO] [stdout] | [INFO] [stdout] = note: following RFC #2388, the new non-placeholder syntax is `try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: found removed `do catch` syntax [INFO] [stdout] --> src/main.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | ... match (do catch { [INFO] [stdout] | ^^^^^^^^ help: replace with the new syntax: `try` [INFO] [stdout] | [INFO] [stdout] = note: following RFC #2388, the new non-placeholder syntax is `try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: found removed `do catch` syntax [INFO] [stdout] --> src/main.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | ... match (do catch { [INFO] [stdout] | ^^^^^^^^ help: replace with the new syntax: `try` [INFO] [stdout] | [INFO] [stdout] = note: following RFC #2388, the new non-placeholder syntax is `try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ascii_ctype)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(catch_expr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/main.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | ... match (do catch { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 110 | | ... let dirent = dirent?; [INFO] [stdout] 111 | | ... if dirent.metadata()?.is_dir() { [INFO] [stdout] 112 | | ... if dirent.path() == Path::new(DATADIR) { [INFO] [stdout] ... | [INFO] [stdout] 130 | | ... } [INFO] [stdout] 131 | | ... }) { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = do catch { [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | println!("Extracting {}", imgid); [INFO] [stdout] 151 | | let mut out: Box = if let Some(path) = path { [INFO] [stdout] 152 | | Box::new(File::create(path).chain_kind(imgid, ErrorKind::Bad)?) [INFO] [stdout] ... | [INFO] [stdout] 284 | | Ok(()) [INFO] [stdout] 285 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | let mut out: Box = if let Some(path) = path { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ascii_ctype)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(catch_expr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/main.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | ... match (do catch { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 110 | | ... let dirent = dirent?; [INFO] [stdout] 111 | | ... if dirent.metadata()?.is_dir() { [INFO] [stdout] 112 | | ... if dirent.path() == Path::new(DATADIR) { [INFO] [stdout] ... | [INFO] [stdout] 130 | | ... } [INFO] [stdout] 131 | | ... }) { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = do catch { [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | println!("Extracting {}", imgid); [INFO] [stdout] 151 | | let mut out: Box = if let Some(path) = path { [INFO] [stdout] 152 | | Box::new(File::create(path).chain_kind(imgid, ErrorKind::Bad)?) [INFO] [stdout] ... | [INFO] [stdout] 284 | | Ok(()) [INFO] [stdout] 285 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / lazy_static! { [INFO] [stdout] 234 | | static ref WORDS: Vec = { [INFO] [stdout] 235 | | let words_file = BufReader::new(File::open("/usr/share/dict/words").unwrap()); [INFO] [stdout] 236 | | let mut words = words_file.lines() [INFO] [stdout] ... | [INFO] [stdout] 245 | | }; [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / lazy_static! { [INFO] [stdout] 234 | | static ref WORDS: Vec = { [INFO] [stdout] 235 | | let words_file = BufReader::new(File::open("/usr/share/dict/words").unwrap()); [INFO] [stdout] 236 | | let mut words = words_file.lines() [INFO] [stdout] ... | [INFO] [stdout] 245 | | }; [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | errors { [INFO] [stdout] 33 | | Many(errors: Vec>) { [INFO] [stdout] 34 | | description("some errors occurred") [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | let mut out: Box = if let Some(path) = path { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / lazy_static! { [INFO] [stdout] 234 | | static ref WORDS: Vec = { [INFO] [stdout] 235 | | let words_file = BufReader::new(File::open("/usr/share/dict/words").unwrap()); [INFO] [stdout] 236 | | let mut words = words_file.lines() [INFO] [stdout] ... | [INFO] [stdout] 245 | | }; [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / lazy_static! { [INFO] [stdout] 234 | | static ref WORDS: Vec = { [INFO] [stdout] 235 | | let words_file = BufReader::new(File::open("/usr/share/dict/words").unwrap()); [INFO] [stdout] 236 | | let mut words = words_file.lines() [INFO] [stdout] ... | [INFO] [stdout] 245 | | }; [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | errors { [INFO] [stdout] 33 | | Many(errors: Vec>) { [INFO] [stdout] 34 | | description("some errors occurred") [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ascii_punctuation` found for reference `&&str` in the current scope [INFO] [stdout] --> src/main.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | ... .filter(|s| !s.is_ascii_punctuation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ascii_punctuation` found for reference `&&str` in the current scope [INFO] [stdout] --> src/main.rs:250:68 [INFO] [stdout] | [INFO] [stdout] 250 | ... .filter(|s| !s.is_ascii_punctuation()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn extract(imgid: &str, path: Option<&Path>) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 292 | result.chain_err(|| ErrorKind::Io(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), _>` [INFO] [stdout] found enum `std::result::Result, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn extract(imgid: &str, path: Option<&Path>) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 292 | result.chain_err(|| ErrorKind::Io(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), _>` [INFO] [stdout] found enum `std::result::Result, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn extract(imgid: &str, path: Option<&Path>) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 294 | result [INFO] [stdout] | ^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), Error>` [INFO] [stdout] found enum `std::result::Result, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn extract(imgid: &str, path: Option<&Path>) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 294 | result [INFO] [stdout] | ^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), Error>` [INFO] [stdout] found enum `std::result::Result, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | errors { [INFO] [stdout] 33 | | Many(errors: Vec>) { [INFO] [stdout] 34 | | description("some errors occurred") [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `extract` [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] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | errors { [INFO] [stdout] 33 | | Many(errors: Vec>) { [INFO] [stdout] 34 | | description("some errors occurred") [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ae11b5fa146ccde4ac5e61a4ede4945f7c71a0594db447a0a6c3fbb9a892c3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae11b5fa146ccde4ac5e61a4ede4945f7c71a0594db447a0a6c3fbb9a892c3d2", kill_on_drop: false }` [INFO] [stdout] ae11b5fa146ccde4ac5e61a4ede4945f7c71a0594db447a0a6c3fbb9a892c3d2