[INFO] crate hodges 1.0.0 is already in cache [INFO] testing hodges-1.0.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate hodges 1.0.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate hodges 1.0.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-11/source/Cargo.toml [INFO] crate crates.io crate hodges 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-11/source/examples/decode.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5b70b31da2aaf07ffb322c525b762ec2b7defa3e88670f62c06cdb8272237c8 [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" "a5b70b31da2aaf07ffb322c525b762ec2b7defa3e88670f62c06cdb8272237c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5b70b31da2aaf07ffb322c525b762ec2b7defa3e88670f62c06cdb8272237c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b70b31da2aaf07ffb322c525b762ec2b7defa3e88670f62c06cdb8272237c8", kill_on_drop: false }` [INFO] [stdout] a5b70b31da2aaf07ffb322c525b762ec2b7defa3e88670f62c06cdb8272237c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a46a0fc650c55bd26c8a107ddd179e5b586f96b003a5a9df130b6a8e6ea74cd2 [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" "a46a0fc650c55bd26c8a107ddd179e5b586f96b003a5a9df130b6a8e6ea74cd2", kill_on_drop: false }` [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 cfg-if v0.1.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.47.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [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 clang-sys v0.26.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling humantime v1.2.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 atty v0.2.11 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling clap v2.32.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 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 23s [INFO] running `Command { std: "docker" "inspect" "a46a0fc650c55bd26c8a107ddd179e5b586f96b003a5a9df130b6a8e6ea74cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46a0fc650c55bd26c8a107ddd179e5b586f96b003a5a9df130b6a8e6ea74cd2", kill_on_drop: false }` [INFO] [stdout] a46a0fc650c55bd26c8a107ddd179e5b586f96b003a5a9df130b6a8e6ea74cd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb2f71a71e728288ba137ceeaf9f034c7d737bafec09924cd8e0da38f89cedc [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" "3cb2f71a71e728288ba137ceeaf9f034c7d737bafec09924cd8e0da38f89cedc", kill_on_drop: false }` [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 2.95s [INFO] running `Command { std: "docker" "inspect" "3cb2f71a71e728288ba137ceeaf9f034c7d737bafec09924cd8e0da38f89cedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb2f71a71e728288ba137ceeaf9f034c7d737bafec09924cd8e0da38f89cedc", kill_on_drop: false }` [INFO] [stdout] 3cb2f71a71e728288ba137ceeaf9f034c7d737bafec09924cd8e0da38f89cedc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98630a6a6f298144c93bf58bccb832d1eeab6bb5125a57ce44e1278cfea80a80 [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" "98630a6a6f298144c93bf58bccb832d1eeab6bb5125a57ce44e1278cfea80a80", kill_on_drop: false }` [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.17s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hodges-4cb57265c1d354d0 [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-a01204760a1cbd98 [INFO] [stdout] [INFO] [stderr] Doc-tests hodges [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 `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[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] | ^^^^^ 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 `Command { std: "docker" "inspect" "98630a6a6f298144c93bf58bccb832d1eeab6bb5125a57ce44e1278cfea80a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98630a6a6f298144c93bf58bccb832d1eeab6bb5125a57ce44e1278cfea80a80", kill_on_drop: false }` [INFO] [stdout] 98630a6a6f298144c93bf58bccb832d1eeab6bb5125a57ce44e1278cfea80a80