[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3d9b6a1f03c8a9148682168864c460cb21c2f77 [INFO] testing haptics-nri/bible-extractor against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaptics-nri%2Fbible-extractor" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haptics-nri/bible-extractor on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-6/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a4224e4b40c6110c4e2b0c03c604426a137bd5e1bd6e5418fdcad8959f8ccc4 [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" "2a4224e4b40c6110c4e2b0c03c604426a137bd5e1bd6e5418fdcad8959f8ccc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a4224e4b40c6110c4e2b0c03c604426a137bd5e1bd6e5418fdcad8959f8ccc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4224e4b40c6110c4e2b0c03c604426a137bd5e1bd6e5418fdcad8959f8ccc4", kill_on_drop: false }` [INFO] [stdout] 2a4224e4b40c6110c4e2b0c03c604426a137bd5e1bd6e5418fdcad8959f8ccc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d2f6eab94e4b9afa74efa543f5c0a7c796d389c5d2b0f3a6563ac43314bf45c [INFO] running `Command { std: "docker" "start" "-a" "0d2f6eab94e4b9afa74efa543f5c0a7c796d389c5d2b0f3a6563ac43314bf45c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling gcc v0.3.53 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.11 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling itoa v0.3.3 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling if_chain v0.1.2 [INFO] [stderr] Compiling closet v0.2.2 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.6.2 [INFO] [stderr] Compiling syn v0.11.11 [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 textwrap v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling clap v2.26.0 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling globset v0.2.0 (git://github.com/haptics-nri/ripgrep?branch=group-defaults#5cb1600a) [INFO] [stderr] Compiling serde_derive v1.0.11 [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 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] warning: use of deprecated item '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 item '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 item '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 item '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[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 item '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] running `Command { std: "docker" "inspect" "0d2f6eab94e4b9afa74efa543f5c0a7c796d389c5d2b0f3a6563ac43314bf45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2f6eab94e4b9afa74efa543f5c0a7c796d389c5d2b0f3a6563ac43314bf45c", kill_on_drop: false }` [INFO] [stdout] 0d2f6eab94e4b9afa74efa543f5c0a7c796d389c5d2b0f3a6563ac43314bf45c