[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] testing haptics-nri/bible-extractor against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaptics-nri%2Fbible-extractor" "/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/haptics-nri/bible-extractor on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6602d9bdb3e5d20e3ca40c0f5439afa1d51220e0138cc555ce967cb4b734ef5f [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" "6602d9bdb3e5d20e3ca40c0f5439afa1d51220e0138cc555ce967cb4b734ef5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6602d9bdb3e5d20e3ca40c0f5439afa1d51220e0138cc555ce967cb4b734ef5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6602d9bdb3e5d20e3ca40c0f5439afa1d51220e0138cc555ce967cb4b734ef5f", kill_on_drop: false }` [INFO] [stdout] 6602d9bdb3e5d20e3ca40c0f5439afa1d51220e0138cc555ce967cb4b734ef5f [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dfe0ef63503530f85ede7fa53c6e93f8151181409808ca5757ee1edad55eb32 [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" "6dfe0ef63503530f85ede7fa53c6e93f8151181409808ca5757ee1edad55eb32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling gcc v0.3.53 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling serde v1.0.11 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.0 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling itoa v0.3.3 [INFO] [stderr] Compiling closet v0.2.2 [INFO] [stderr] Compiling if_chain v0.1.2 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling itertools v0.6.2 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling textwrap v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling clap v2.26.0 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.11 [INFO] [stderr] Compiling globset v0.2.0 (git://github.com/haptics-nri/ripgrep?branch=group-defaults#5cb1600a) [INFO] [stderr] Compiling ignore v0.2.2 (git://github.com/haptics-nri/ripgrep?branch=group-defaults#5cb1600a) [INFO] [stderr] Compiling serde_json v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.2 [INFO] [stderr] Compiling error-chain v0.11.0-rc.2 [INFO] [stderr] Compiling 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: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 stable 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 stable 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 stable 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: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:20:17 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 - let mut out: Box = if let Some(path) = path { [INFO] [stdout] 151 + let mut out: Box = if let Some(path) = path { [INFO] [stdout] | [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: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 the macro `error_chain_processed` (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` due to 11 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dfe0ef63503530f85ede7fa53c6e93f8151181409808ca5757ee1edad55eb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfe0ef63503530f85ede7fa53c6e93f8151181409808ca5757ee1edad55eb32", kill_on_drop: false }` [INFO] [stdout] 6dfe0ef63503530f85ede7fa53c6e93f8151181409808ca5757ee1edad55eb32