[INFO] cloning repository https://github.com/rickrain/rust-callbacks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickrain/rust-callbacks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickrain%2Frust-callbacks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickrain%2Frust-callbacks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdcbc90400049f221bb0f65863250f45f1ce8a84 [INFO] checking rickrain/rust-callbacks against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickrain%2Frust-callbacks" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rickrain/rust-callbacks on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickrain/rust-callbacks [INFO] finished tweaking git repo https://github.com/rickrain/rust-callbacks [INFO] tweaked toml for git repo https://github.com/rickrain/rust-callbacks written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rickrain/rust-callbacks 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" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rickrain/rust-callbacks against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickrain%2Frust-callbacks" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rickrain/rust-callbacks on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickrain/rust-callbacks [INFO] finished tweaking git repo https://github.com/rickrain/rust-callbacks [INFO] tweaked toml for git repo https://github.com/rickrain/rust-callbacks written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rickrain/rust-callbacks 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" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a37979702e4ca1e4212f63e7f6de1042c1f6e78381d83bf11e8767590d7759e8 [INFO] running `Command { std: "docker" "start" "-a" "a37979702e4ca1e4212f63e7f6de1042c1f6e78381d83bf11e8767590d7759e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a37979702e4ca1e4212f63e7f6de1042c1f6e78381d83bf11e8767590d7759e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a37979702e4ca1e4212f63e7f6de1042c1f6e78381d83bf11e8767590d7759e8", kill_on_drop: false }` [INFO] [stdout] a37979702e4ca1e4212f63e7f6de1042c1f6e78381d83bf11e8767590d7759e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db2f46459ef19ff7021d626d3c81161243a4f2a7d0e3c48880c41d28a44853ba [INFO] running `Command { std: "docker" "start" "-a" "db2f46459ef19ff7021d626d3c81161243a4f2a7d0e3c48880c41d28a44853ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking container_mgmt v0.1.0 (/opt/rustwide/workdir/crates/container_mgmt) [INFO] [stdout] warning: unused import: `alloc::handle_alloc_error` [INFO] [stdout] --> crates/container_mgmt/src/lib.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::mpsc, thread, alloc::handle_alloc_error, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> crates/container_mgmt/src/lib.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> crates/container_mgmt/src/lib.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | sender.send(format!("Container '{}' state changed", container_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = sender.send(format!("Container '{}' state changed", container_name)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking orchestration v0.1.0 (/opt/rustwide/workdir/crates/orchestration) [INFO] [stdout] warning: unused imports: `JoinHandle`, `sync::mpsc::Receiver` [INFO] [stdout] --> crates/orchestration/src/lib.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::{self, JoinHandle}, sync::mpsc::Receiver}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> crates/orchestration/src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let handle = thread::spawn(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> crates/orchestration/src/lib.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | while let Ok(message) = receiver.recv() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking messaging v0.1.0 (/opt/rustwide/workdir/crates/messaging) [INFO] [stdout] warning: unused import: `OrchestrationError` [INFO] [stdout] --> crates/messaging/src/lib.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use orchestration::{OrchestrationEngine,OrchestrationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/messaging/src/iot_hub_device.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut orchestration_engine = OrchestrationEngine::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking callbacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.08s [INFO] running `Command { std: "docker" "inspect" "db2f46459ef19ff7021d626d3c81161243a4f2a7d0e3c48880c41d28a44853ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2f46459ef19ff7021d626d3c81161243a4f2a7d0e3c48880c41d28a44853ba", kill_on_drop: false }` [INFO] [stdout] db2f46459ef19ff7021d626d3c81161243a4f2a7d0e3c48880c41d28a44853ba