[INFO] cloning repository https://github.com/dericgf92/rust_bluetooth_server [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dericgf92/rust_bluetooth_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdericgf92%2Frust_bluetooth_server"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdericgf92%2Frust_bluetooth_server'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 020801df27ae64dcd6772a278e62678dc2de731b [INFO] checking dericgf92/rust_bluetooth_server against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdericgf92%2Frust_bluetooth_server" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dericgf92/rust_bluetooth_server on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dericgf92/rust_bluetooth_server [INFO] finished tweaking git repo https://github.com/dericgf92/rust_bluetooth_server [INFO] tweaked toml for git repo https://github.com/dericgf92/rust_bluetooth_server written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/dericgf92/rust_bluetooth_server already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f855a6e0a4ef702d4c0fb4b2c1fc497d1747c3af7043dea027f3965168a7b8a9 [INFO] running `"docker" "start" "-a" "f855a6e0a4ef702d4c0fb4b2c1fc497d1747c3af7043dea027f3965168a7b8a9"` [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking termios v0.0.5 [INFO] [stderr] Compiling time v0.2.13 [INFO] [stderr] Checking serial v0.0.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking ser_test v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | try!(port.configure(|settings| { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | try!(port.read(&mut buf[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | try!(port.configure(|settings| { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | try!(port.read(&mut buf[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | port.set_timeout(Duration::milliseconds(25000)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `time::duration::Duration`, found struct `time::Duration` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `time` are being used? [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 37 | / loop { [INFO] [stderr] 38 | | //println!("writing bytes"); [INFO] [stderr] 39 | | //try!(port.write(&b)); [INFO] [stderr] 40 | | [INFO] [stderr] ... | [INFO] [stderr] 44 | | println!("{:?}", buf); [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 46 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | port.set_timeout(Duration::milliseconds(25000)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `time::duration::Duration`, found struct `time::Duration` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `time` are being used? [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 37 | / loop { [INFO] [stderr] 38 | | //println!("writing bytes"); [INFO] [stderr] 39 | | //try!(port.write(&b)); [INFO] [stderr] 40 | | [INFO] [stderr] ... | [INFO] [stderr] 44 | | println!("{:?}", buf); [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 46 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] warning: unused import: `std::io::prelude` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ser_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ser_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f855a6e0a4ef702d4c0fb4b2c1fc497d1747c3af7043dea027f3965168a7b8a9"` [INFO] running `"docker" "rm" "-f" "f855a6e0a4ef702d4c0fb4b2c1fc497d1747c3af7043dea027f3965168a7b8a9"` [INFO] [stdout] f855a6e0a4ef702d4c0fb4b2c1fc497d1747c3af7043dea027f3965168a7b8a9