[INFO] fetching crate execution-engine 0.1.4... [INFO] testing execution-engine-0.1.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate execution-engine 0.1.4 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate execution-engine 0.1.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate execution-engine 0.1.4 [INFO] finished tweaking crates.io crate execution-engine 0.1.4 [INFO] tweaked toml for crates.io crate execution-engine 0.1.4 written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate crates.io crate execution-engine 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1af2279fa3dd6329a92ece66c687133edb294136e85dac8077a651201e8f825 [INFO] running `Command { std: "docker" "start" "-a" "e1af2279fa3dd6329a92ece66c687133edb294136e85dac8077a651201e8f825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1af2279fa3dd6329a92ece66c687133edb294136e85dac8077a651201e8f825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1af2279fa3dd6329a92ece66c687133edb294136e85dac8077a651201e8f825", kill_on_drop: false }` [INFO] [stdout] e1af2279fa3dd6329a92ece66c687133edb294136e85dac8077a651201e8f825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b0e7fa926dc650c6d61ad6be9b428b2d56285d1095d3a6f128230a3d2b844b1 [INFO] running `Command { std: "docker" "start" "-a" "7b0e7fa926dc650c6d61ad6be9b428b2d56285d1095d3a6f128230a3d2b844b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling ed25519 v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling base64-url v1.4.10 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling nuid v0.3.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling subtle-encoding v0.5.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling signatory v0.21.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling nkeys v0.1.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_nanos v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling eval v0.4.3 [INFO] [stderr] Compiling nats v0.18.1 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling execution-engine v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/spawner.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Instant` [INFO] [stdout] --> src/spawner.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/workflow.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut response_sub = nats_client.subscribe("activity.response")?; [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: unused import: `futures::StreamExt` [INFO] [stdout] --> src/reactor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/node.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => workflow::Message { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/workflow.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `workflow_id` [INFO] [stdout] --> src/workflow.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | workflow_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `project_id` [INFO] [stdout] --> src/workflow.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/workflow.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `owner_id` [INFO] [stdout] --> src/workflow.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | owner_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/workflow.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | context: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> src/workflow.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | current: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/workflow.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | status: JobStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/node/types.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/node/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fail_on_error` [INFO] [stdout] --> src/node/types.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fail_on_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/node/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / spawn_tx [INFO] [stdout] 96 | | .send(spawner::execute_msg(&uuid::Uuid::new_v4().to_string())) [INFO] [stdout] 97 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/node/types.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | self.job_channel.send(self.create_msg().await).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.16s [INFO] running `Command { std: "docker" "inspect" "7b0e7fa926dc650c6d61ad6be9b428b2d56285d1095d3a6f128230a3d2b844b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0e7fa926dc650c6d61ad6be9b428b2d56285d1095d3a6f128230a3d2b844b1", kill_on_drop: false }` [INFO] [stdout] 7b0e7fa926dc650c6d61ad6be9b428b2d56285d1095d3a6f128230a3d2b844b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6788bb9653edbf01d99e7e578d8cd91732a32731cca5e396104d1f6c57ca6088 [INFO] running `Command { std: "docker" "start" "-a" "6788bb9653edbf01d99e7e578d8cd91732a32731cca5e396104d1f6c57ca6088", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling execution-engine v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/spawner.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Instant` [INFO] [stdout] --> src/spawner.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/workflow.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut response_sub = nats_client.subscribe("activity.response")?; [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: unused import: `futures::StreamExt` [INFO] [stdout] --> src/reactor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/node.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => workflow::Message { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/workflow.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `workflow_id` [INFO] [stdout] --> src/workflow.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | workflow_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `project_id` [INFO] [stdout] --> src/workflow.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/workflow.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `owner_id` [INFO] [stdout] --> src/workflow.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | owner_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/workflow.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | context: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> src/workflow.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | current: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/workflow.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | status: JobStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/node/types.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/node/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fail_on_error` [INFO] [stdout] --> src/node/types.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fail_on_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/node/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / spawn_tx [INFO] [stdout] 96 | | .send(spawner::execute_msg(&uuid::Uuid::new_v4().to_string())) [INFO] [stdout] 97 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/node/types.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | self.job_channel.send(self.create_msg().await).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/spawner.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Instant` [INFO] [stdout] --> src/spawner.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/workflow.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut response_sub = nats_client.subscribe("activity.response")?; [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: unused import: `futures::StreamExt` [INFO] [stdout] --> src/reactor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/node.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => workflow::Message { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/workflow.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `workflow_id` [INFO] [stdout] --> src/workflow.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | workflow_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `project_id` [INFO] [stdout] --> src/workflow.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/workflow.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `owner_id` [INFO] [stdout] --> src/workflow.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | owner_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/workflow.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | context: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> src/workflow.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | current: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/workflow.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | status: JobStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/workflow.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/node/types.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/node/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fail_on_error` [INFO] [stdout] --> src/node/types.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fail_on_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/node/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / spawn_tx [INFO] [stdout] 96 | | .send(spawner::execute_msg(&uuid::Uuid::new_v4().to_string())) [INFO] [stdout] 97 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/node/types.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | self.job_channel.send(self.create_msg().await).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.66s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/execution_engine-19c5ac0bc8b191ec) [INFO] [stderr] Executable unittests src/bin/bot/main.rs (/opt/rustwide/target/debug/deps/bot-d067c333d93c14b6) [INFO] [stderr] Executable unittests src/bin/executable/main.rs (/opt/rustwide/target/debug/deps/executable-59198d8348c6fa7c) [INFO] running `Command { std: "docker" "inspect" "6788bb9653edbf01d99e7e578d8cd91732a32731cca5e396104d1f6c57ca6088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6788bb9653edbf01d99e7e578d8cd91732a32731cca5e396104d1f6c57ca6088", kill_on_drop: false }` [INFO] [stdout] 6788bb9653edbf01d99e7e578d8cd91732a32731cca5e396104d1f6c57ca6088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 306e19046cb0b770705b342cdaa4dffca1df2ee9e47f61def9931f18bdf9e6ed [INFO] running `Command { std: "docker" "start" "-a" "306e19046cb0b770705b342cdaa4dffca1df2ee9e47f61def9931f18bdf9e6ed", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `tokio::sync::oneshot` [INFO] [stderr] --> src/spawner.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::Instant` [INFO] [stderr] --> src/spawner.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use tokio::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> src/workflow.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/reactor.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | let mut response_sub = nats_client.subscribe("activity.response")?; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> src/reactor.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/node.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | Err(e) => workflow::Message { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/workflow.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `workflow_id` [INFO] [stderr] --> src/workflow.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | workflow_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `project_id` [INFO] [stderr] --> src/workflow.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | project_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Workflow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/workflow.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `owner_id` [INFO] [stderr] --> src/workflow.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | owner_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `context` [INFO] [stderr] --> src/workflow.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | context: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current` [INFO] [stderr] --> src/workflow.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | current: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `status` [INFO] [stderr] --> src/workflow.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | status: JobStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/workflow.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `description` [INFO] [stderr] --> src/node/types.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | description: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/node/types.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fail_on_error` [INFO] [stderr] --> src/node/types.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | fail_on_error: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Activity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/node/types.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | / spawn_tx [INFO] [stderr] 96 | | .send(spawner::execute_msg(&uuid::Uuid::new_v4().to_string())) [INFO] [stderr] 97 | | .await; [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/node/types.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | self.job_channel.send(self.create_msg().await).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `execution-engine` (lib) generated 18 warnings [INFO] [stderr] warning: `execution-engine` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.79s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/execution_engine-19c5ac0bc8b191ec) [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] [stderr] Running unittests src/bin/bot/main.rs (/opt/rustwide/target/debug/deps/bot-d067c333d93c14b6) [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.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/executable/main.rs (/opt/rustwide/target/debug/deps/executable-59198d8348c6fa7c) [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.13s [INFO] [stdout] [INFO] [stderr] Doc-tests execution-engine [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/node/types.rs - node::types (line 7) ... FAILED [INFO] [stdout] test src/executor.rs - executor (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/node/types.rs - node::types (line 7) stdout ---- [INFO] [stdout] error: expected `,`, or `}`, found `job_channel` [INFO] [stdout] --> src/node/types.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 4 | id: String // The unique identifier for the node [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `position` [INFO] [stdout] --> src/node/types.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 5 | job_channel: Sender // The channel to notify the job of completion [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workflow` [INFO] [stdout] --> src/node/types.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 5 | job_channel: Sender // The channel to notify the job of completion [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `workflow` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/node/types.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 5 | job_channel: Sender // The channel to notify the job of completion [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 | job_channel: Send // The channel to notify the job of completion [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::broadcast::Sender; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor (line 22) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/executor.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 3 | for node in job.next_node(...) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 | for node in job.next_node(..) { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 | for node in job.next_node(..=) { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/executor.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 3 | for node in job.next_node(...) { [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `task` [INFO] [stdout] --> src/executor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 4 | task::spawn(node.run().await) // executes in background, immediately returning [INFO] [stdout] | ^^^^ use of undeclared crate or module `task` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `job` in this scope [INFO] [stdout] --> src/executor.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 3 | for node in job.next_node(...) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_22_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 3 | for node in job.next_node(...) { [INFO] [stdout] 4 | task::spawn(node.run().await) // executes in background, immediately returning [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/executor.rs - executor (line 22) [INFO] [stdout] src/node/types.rs - node::types (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "306e19046cb0b770705b342cdaa4dffca1df2ee9e47f61def9931f18bdf9e6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "306e19046cb0b770705b342cdaa4dffca1df2ee9e47f61def9931f18bdf9e6ed", kill_on_drop: false }` [INFO] [stdout] 306e19046cb0b770705b342cdaa4dffca1df2ee9e47f61def9931f18bdf9e6ed