[INFO] crate relay8x 0.1.1 is already in cache [INFO] extracting crate relay8x 0.1.1 into work/ex/beta-1.37-6/sources/1.36.0/reg/relay8x/0.1.1 [INFO] extracting crate relay8x 0.1.1 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/relay8x/0.1.1 [INFO] validating manifest of relay8x-0.1.1 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of relay8x-0.1.1 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing relay8x-0.1.1 [INFO] finished frobbing relay8x-0.1.1 [INFO] frobbed toml for relay8x-0.1.1 written to work/ex/beta-1.37-6/sources/1.36.0/reg/relay8x/0.1.1/Cargo.toml [INFO] started frobbing relay8x-0.1.1 [INFO] finished frobbing relay8x-0.1.1 [INFO] frobbed toml for relay8x-0.1.1 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/relay8x/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing relay8x-0.1.1 against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/relay8x/0.1.1:/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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] a4b8cbec33befa7a10db87eb4101298f03b297288f146159887049a086d4d481 [INFO] running `"docker" "start" "-a" "a4b8cbec33befa7a10db87eb4101298f03b297288f146159887049a086d4d481"` [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling relay8x v0.1.1 (/opt/crater/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 6.54s [INFO] running `"docker" "inspect" "a4b8cbec33befa7a10db87eb4101298f03b297288f146159887049a086d4d481"` [INFO] running `"docker" "rm" "-f" "a4b8cbec33befa7a10db87eb4101298f03b297288f146159887049a086d4d481"` [INFO] [stdout] a4b8cbec33befa7a10db87eb4101298f03b297288f146159887049a086d4d481 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/relay8x/0.1.1:/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" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] 2c4b383af57cc7f00942a775a832846f2daa8c43e6ea57218f251e71de984491 [INFO] running `"docker" "start" "-a" "2c4b383af57cc7f00942a775a832846f2daa8c43e6ea57218f251e71de984491"` [INFO] [stderr] Compiling relay8x v0.1.1 (/opt/crater/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] | ^^^^^^^^^^^ [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" "2c4b383af57cc7f00942a775a832846f2daa8c43e6ea57218f251e71de984491"` [INFO] running `"docker" "rm" "-f" "2c4b383af57cc7f00942a775a832846f2daa8c43e6ea57218f251e71de984491"` [INFO] [stdout] 2c4b383af57cc7f00942a775a832846f2daa8c43e6ea57218f251e71de984491