[INFO] crate relay8x 0.1.1 is already in cache [INFO] testing relay8x-0.1.1 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate relay8x 0.1.1 into work/builds/worker-1/source [INFO] validating manifest of crates.io crate relay8x 0.1.1 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate relay8x 0.1.1 [INFO] finished tweaking crates.io crate relay8x 0.1.1 [INFO] tweaked toml for crates.io crate relay8x 0.1.1 written to work/builds/worker-1/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "build" "--frozen"` [INFO] [stdout] e36e7a86d370b5eb08f3f80c316702de3e303b6efc6f4d551d957a1eea93620c [INFO] running `"docker" "start" "-a" "e36e7a86d370b5eb08f3f80c316702de3e303b6efc6f4d551d957a1eea93620c"` [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling serial v0.4.0 [INFO] [stderr] Compiling relay8x v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | port: Box, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SerialPort` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.04s [INFO] running `"docker" "inspect" "e36e7a86d370b5eb08f3f80c316702de3e303b6efc6f4d551d957a1eea93620c"` [INFO] running `"docker" "rm" "-f" "e36e7a86d370b5eb08f3f80c316702de3e303b6efc6f4d551d957a1eea93620c"` [INFO] [stdout] e36e7a86d370b5eb08f3f80c316702de3e303b6efc6f4d551d957a1eea93620c [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] ba9aacb0725895519a5d277145560112345d35e08de66b7a193cf00f03fd5308 [INFO] running `"docker" "start" "-a" "ba9aacb0725895519a5d277145560112345d35e08de66b7a193cf00f03fd5308"` [INFO] [stderr] Compiling relay8x v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | port: Box, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SerialPort` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:331:26 [INFO] [stderr] | [INFO] [stderr] 331 | Relay8x::new(String::from("/dev/ttyUSB0"), 1).expect("Failed to connect to device"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("/dev/ttyUSB0")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `init_device` found for type `Relay8x` in the current scope [INFO] [stderr] --> src/lib.rs:332:35 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Relay8x { [INFO] [stderr] | ------------------ method `init_device` not found for this [INFO] [stderr] ... [INFO] [stderr] 332 | let init_response = relay.init_device().expect("Failed to init device"); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `Relay8x` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `relay8x`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ba9aacb0725895519a5d277145560112345d35e08de66b7a193cf00f03fd5308"` [INFO] running `"docker" "rm" "-f" "ba9aacb0725895519a5d277145560112345d35e08de66b7a193cf00f03fd5308"` [INFO] [stdout] ba9aacb0725895519a5d277145560112345d35e08de66b7a193cf00f03fd5308