[INFO] fetching crate hodges 1.0.0... [INFO] testing hodges-1.0.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate hodges 1.0.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate hodges 1.0.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate hodges 1.0.0 [INFO] finished tweaking crates.io crate hodges 1.0.0 [INFO] tweaked toml for crates.io crate hodges 1.0.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate hodges 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-1/source/examples/decode.rs [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e8553559976f0a727a3f27aa80bdf7ce31094463ce6ef9e23644c9183081215 [INFO] running `"docker" "start" "-a" "8e8553559976f0a727a3f27aa80bdf7ce31094463ce6ef9e23644c9183081215"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/decode.rs [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling bindgen v0.47.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling cmake v0.1.35 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.2.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling cexpr v0.3.4 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling hodges v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `"docker" "inspect" "8e8553559976f0a727a3f27aa80bdf7ce31094463ce6ef9e23644c9183081215"` [INFO] running `"docker" "rm" "-f" "8e8553559976f0a727a3f27aa80bdf7ce31094463ce6ef9e23644c9183081215"` [INFO] [stdout] 8e8553559976f0a727a3f27aa80bdf7ce31094463ce6ef9e23644c9183081215 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 410ee907d98ffdfd6600c0442f5929a9da34460f1aacd9faef24db586b9a7eb9 [INFO] running `"docker" "start" "-a" "410ee907d98ffdfd6600c0442f5929a9da34460f1aacd9faef24db586b9a7eb9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/decode.rs [INFO] [stderr] Compiling hodges v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `"docker" "inspect" "410ee907d98ffdfd6600c0442f5929a9da34460f1aacd9faef24db586b9a7eb9"` [INFO] running `"docker" "rm" "-f" "410ee907d98ffdfd6600c0442f5929a9da34460f1aacd9faef24db586b9a7eb9"` [INFO] [stdout] 410ee907d98ffdfd6600c0442f5929a9da34460f1aacd9faef24db586b9a7eb9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stdout] 79e2b96715292d94661f047b887448c31470729773158455d663769d74492054 [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" "79e2b96715292d94661f047b887448c31470729773158455d663769d74492054"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/decode.rs [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hodges-cf06f15ada21d713 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/decode-3f1b4ea0ba35e0cf [INFO] [stderr] Doc-tests hodges [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `quiet` [INFO] [stdout] --> src/lib.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 3 | ffmpeg -loglevel quiet -i -f f32le -acodec pcm_f32le -ac 1 -ar 44100 pipe:1 [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `State` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | State::from_file(filename.clone())?; [INFO] [stdout] | ^^^^^ use of undeclared type or module `State` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | io::stdout().write(&[c])?; [INFO] [stdout] | ^^ use of undeclared type or module `io` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 8 | io::stdout().flush()?; [INFO] [stdout] | ^^ use of undeclared type or module `io` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 3 | let state: State = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use hodges::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filename` in this scope [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 4 | State::from_file(filename.clone())?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let state: State = [INFO] [stdout] 4 | | State::from_file(filename.clone())?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | for c in state { [INFO] [stdout] ... | [INFO] [stdout] 8 | | io::stdout().flush()?; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let state: State = [INFO] [stdout] 4 | | State::from_file(filename.clone())?; [INFO] [stdout] 5 | | for c in state { [INFO] [stdout] 6 | | io::stdout().write(&[c])?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | io::stdout().flush()?; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let state: State = [INFO] [stdout] 4 | | State::from_file(filename.clone())?; [INFO] [stdout] 5 | | for c in state { [INFO] [stdout] ... | [INFO] [stdout] 8 | | io::stdout().flush()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "79e2b96715292d94661f047b887448c31470729773158455d663769d74492054"` [INFO] running `"docker" "rm" "-f" "79e2b96715292d94661f047b887448c31470729773158455d663769d74492054"` [INFO] [stdout] 79e2b96715292d94661f047b887448c31470729773158455d663769d74492054