[INFO] cloning repository https://github.com/yjl9903/RoboticArm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yjl9903/RoboticArm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjl9903%2FRoboticArm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjl9903%2FRoboticArm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f47899ffc9c635b94ae74465d8c02b32e722f6d [INFO] testing yjl9903/RoboticArm against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjl9903%2FRoboticArm" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yjl9903/RoboticArm [INFO] finished tweaking git repo https://github.com/yjl9903/RoboticArm [INFO] tweaked toml for git repo https://github.com/yjl9903/RoboticArm written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yjl9903/RoboticArm on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yjl9903/RoboticArm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded serialport v4.0.0 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded const_fn v0.4.4 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded standback v0.2.13 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded sha-1 v0.9.2 [INFO] [stderr] Downloaded actix-cors v0.5.3 [INFO] [stderr] Downloaded pin-project v1.0.2 [INFO] [stderr] Downloaded futures v0.3.8 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.6 [INFO] [stderr] Downloaded nix v0.16.1 [INFO] [stderr] Downloaded http v0.2.2 [INFO] [stderr] Downloaded futures-util v0.3.8 [INFO] [stderr] Downloaded cookie v0.14.3 [INFO] [stderr] Downloaded pin-project-lite v0.2.0 [INFO] [stderr] Downloaded trust-dns-proto v0.19.6 [INFO] [stderr] Downloaded futures-channel v0.3.8 [INFO] [stderr] Downloaded futures-macro v0.3.8 [INFO] [stderr] Downloaded futures-task v0.3.8 [INFO] [stderr] Downloaded pin-project-internal v1.0.2 [INFO] [stderr] Downloaded time v0.2.23 [INFO] [stderr] Downloaded futures-core v0.3.8 [INFO] [stderr] Downloaded futures-io v0.3.8 [INFO] [stderr] Downloaded futures-sink v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b916e7a79a3b5802cc1c1b700ef6d36cdc93d4ce94d6fe403d63f4a3cb82a981 [INFO] running `Command { std: "docker" "start" "-a" "b916e7a79a3b5802cc1c1b700ef6d36cdc93d4ce94d6fe403d63f4a3cb82a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b916e7a79a3b5802cc1c1b700ef6d36cdc93d4ce94d6fe403d63f4a3cb82a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b916e7a79a3b5802cc1c1b700ef6d36cdc93d4ce94d6fe403d63f4a3cb82a981", kill_on_drop: false }` [INFO] [stdout] b916e7a79a3b5802cc1c1b700ef6d36cdc93d4ce94d6fe403d63f4a3cb82a981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79740da92e99200872dacf9f2a0feb67d28dc3b7561633ae79dcf51e9ac8ba35 [INFO] running `Command { std: "docker" "start" "-a" "79740da92e99200872dacf9f2a0feb67d28dc3b7561633ae79dcf51e9ac8ba35", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling serialport v4.0.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-cors v0.5.3 [INFO] [stderr] Compiling RoboticArm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Tm` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use time::{Tm, now}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let mut arm = web::Data::new(Mutex::new(RoboticArm::new(port))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.01s [INFO] running `Command { std: "docker" "inspect" "79740da92e99200872dacf9f2a0feb67d28dc3b7561633ae79dcf51e9ac8ba35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79740da92e99200872dacf9f2a0feb67d28dc3b7561633ae79dcf51e9ac8ba35", kill_on_drop: false }` [INFO] [stdout] 79740da92e99200872dacf9f2a0feb67d28dc3b7561633ae79dcf51e9ac8ba35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e71bc89dbe157d1794770a4adbd8f76dcaf2312d6590925169e29625a6fbe7d6 [INFO] running `Command { std: "docker" "start" "-a" "e71bc89dbe157d1794770a4adbd8f76dcaf2312d6590925169e29625a6fbe7d6", kill_on_drop: false }` [INFO] [stderr] Compiling RoboticArm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Tm` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use time::{Tm, now}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let mut arm = web::Data::new(Mutex::new(RoboticArm::new(port))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "e71bc89dbe157d1794770a4adbd8f76dcaf2312d6590925169e29625a6fbe7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e71bc89dbe157d1794770a4adbd8f76dcaf2312d6590925169e29625a6fbe7d6", kill_on_drop: false }` [INFO] [stdout] e71bc89dbe157d1794770a4adbd8f76dcaf2312d6590925169e29625a6fbe7d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b8528dcb43c609c0b46df1a39f8b065970d468051fc24cf615895934603bede [INFO] running `Command { std: "docker" "start" "-a" "7b8528dcb43c609c0b46df1a39f8b065970d468051fc24cf615895934603bede", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Tm` [INFO] [stderr] --> src/main.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use time::{Tm, now}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | let mut arm = web::Data::new(Mutex::new(RoboticArm::new(port))); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `RoboticArm` (bin "RoboticArm" test) generated 2 warnings (run `cargo fix --bin "RoboticArm" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/RoboticArm-1adff331695153f3) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b8528dcb43c609c0b46df1a39f8b065970d468051fc24cf615895934603bede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8528dcb43c609c0b46df1a39f8b065970d468051fc24cf615895934603bede", kill_on_drop: false }` [INFO] [stdout] 7b8528dcb43c609c0b46df1a39f8b065970d468051fc24cf615895934603bede