[INFO] crate sphinxad 0.1.2 is already in cache [INFO] extracting crate sphinxad 0.1.2 into work/ex/beta-1.38-1/sources/1.37.0/reg/sphinxad/0.1.2 [INFO] extracting crate sphinxad 0.1.2 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/sphinxad/0.1.2 [INFO] validating manifest of sphinxad-0.1.2 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of sphinxad-0.1.2 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing sphinxad-0.1.2 [INFO] finished frobbing sphinxad-0.1.2 [INFO] frobbed toml for sphinxad-0.1.2 written to work/ex/beta-1.38-1/sources/1.37.0/reg/sphinxad/0.1.2/Cargo.toml [INFO] started frobbing sphinxad-0.1.2 [INFO] finished frobbing sphinxad-0.1.2 [INFO] frobbed toml for sphinxad-0.1.2 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/sphinxad/0.1.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing sphinxad-0.1.2 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/sphinxad/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 42e45d073967ab334066d35fa792753fded2010e566590656f861ffebaa9f2c6 [INFO] running `"docker" "start" "-a" "42e45d073967ab334066d35fa792753fded2010e566590656f861ffebaa9f2c6"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling sphinxad-sys v0.1.3 [INFO] [stderr] Compiling sphinxad v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | fn cause(&self) -> Option<&std::error::Error> { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `"docker" "inspect" "42e45d073967ab334066d35fa792753fded2010e566590656f861ffebaa9f2c6"` [INFO] running `"docker" "rm" "-f" "42e45d073967ab334066d35fa792753fded2010e566590656f861ffebaa9f2c6"` [INFO] [stdout] 42e45d073967ab334066d35fa792753fded2010e566590656f861ffebaa9f2c6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/sphinxad/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 025820a3cbca49cedb8134bc170642a26df3d55a48aaffdb307573bcb6172699 [INFO] running `"docker" "start" "-a" "025820a3cbca49cedb8134bc170642a26df3d55a48aaffdb307573bcb6172699"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling sphinxad v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | fn cause(&self) -> Option<&std::error::Error> { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `"docker" "inspect" "025820a3cbca49cedb8134bc170642a26df3d55a48aaffdb307573bcb6172699"` [INFO] running `"docker" "rm" "-f" "025820a3cbca49cedb8134bc170642a26df3d55a48aaffdb307573bcb6172699"` [INFO] [stdout] 025820a3cbca49cedb8134bc170642a26df3d55a48aaffdb307573bcb6172699 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/sphinxad/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] bdc809c4bd722e33d32d5604cd3e0ea59ce029d846a8e2a99d1f254061c70233 [INFO] running `"docker" "start" "-a" "bdc809c4bd722e33d32d5604cd3e0ea59ce029d846a8e2a99d1f254061c70233"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/sphinxad-e3d2d094e15fbff8 [INFO] [stderr] Doc-tests sphinxad [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/audio_device.rs - audio_device::AudioDevice::stop_recording (line 122) ... FAILED [INFO] [stdout] test src/audio_device.rs - audio_device::AudioDevice::default_with_sps (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/audio_device.rs - audio_device::AudioDevice::stop_recording (line 122) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/audio_device.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 7 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/audio_device.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 8 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AudioDevice` [INFO] [stdout] --> src/audio_device.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut device=AudioDevice::default_with_sps(44100)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AudioDevice` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stdout] --> src/audio_device.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 12 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `thread` [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/audio_device.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut device=AudioDevice::default_with_sps(44100)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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/audio_device.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 4 | device.start_recording()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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/audio_device.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 10 | device.stop_recording()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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/audio_device.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 14 | device.start_recording()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/audio_device.rs - audio_device::AudioDevice::default_with_sps (line 40) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/audio_device.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 12 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 12 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/audio_device.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 13 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AudioDevice` [INFO] [stdout] --> src/audio_device.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 5 | let mut device=AudioDevice::default_with_sps(44100)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AudioDevice` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `buffer` in this scope [INFO] [stdout] --> src/audio_device.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 9 | match device.read(&mut buffer[..])? { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> src/audio_device.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 18 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: #[warn(deprecated)] on by default [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/audio_device.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 5 | let mut device=AudioDevice::default_with_sps(44100)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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/audio_device.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 6 | device.start_recording()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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/audio_device.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 9 | match device.read(&mut buffer[..])? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0586. [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/audio_device.rs - audio_device::AudioDevice::default_with_sps (line 40) [INFO] [stdout] src/audio_device.rs - audio_device::AudioDevice::stop_recording (line 122) [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" "bdc809c4bd722e33d32d5604cd3e0ea59ce029d846a8e2a99d1f254061c70233"` [INFO] running `"docker" "rm" "-f" "bdc809c4bd722e33d32d5604cd3e0ea59ce029d846a8e2a99d1f254061c70233"` [INFO] [stdout] bdc809c4bd722e33d32d5604cd3e0ea59ce029d846a8e2a99d1f254061c70233