[INFO] cloning repository https://github.com/NeoLegends/runtext [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NeoLegends/runtext" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeoLegends%2Fruntext", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeoLegends%2Fruntext'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d855ac8a6d52e088fd2701839cecf9b366a47412 [INFO] checking NeoLegends/runtext against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeoLegends%2Fruntext" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NeoLegends/runtext on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NeoLegends/runtext [INFO] finished tweaking git repo https://github.com/NeoLegends/runtext [INFO] tweaked toml for git repo https://github.com/NeoLegends/runtext written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/NeoLegends/runtext already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b64db71ef6e49d7f8efc7f079d9a609a8e36ea055e61c1449a90080f4f254db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9b64db71ef6e49d7f8efc7f079d9a609a8e36ea055e61c1449a90080f4f254db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b64db71ef6e49d7f8efc7f079d9a609a8e36ea055e61c1449a90080f4f254db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b64db71ef6e49d7f8efc7f079d9a609a8e36ea055e61c1449a90080f4f254db", kill_on_drop: false }` [INFO] [stdout] 9b64db71ef6e49d7f8efc7f079d9a609a8e36ea055e61c1449a90080f4f254db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91d72cf8468d295c8469ef77e92a7bd2e23fa73ce2007f60880dfb627fed873a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "91d72cf8468d295c8469ef77e92a7bd2e23fa73ce2007f60880dfb627fed873a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking futures-stream-select-all v0.1.2 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.29.2 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking serde_yaml v0.7.3 [INFO] [stderr] Checking mio v0.6.12 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking tokio-core v0.1.12 [INFO] [stderr] Checking runtext v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `imp` [INFO] [stdout] --> src/triggers/wifi/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod imp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `imp`, create file "src/triggers/wifi/imp.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `imp` [INFO] [stdout] --> src/triggers/wifi/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod imp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `imp`, create file "src/triggers/wifi/imp.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `triggers::wifi::WifiTrigger` [INFO] [stdout] --> src/driver.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use triggers::wifi::{TRIGGER_NAME as WIFI_TRIGGER_NAME, WifiTrigger}; [INFO] [stdout] | ^^^^^^^^^^^ no `WifiTrigger` in `triggers::wifi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate futures; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/command.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn enter(&mut self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/command.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn leave(&mut self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn enter(&mut self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | fn leave(&mut self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn drive(ctx: Context, handle: Handle) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | .collect::>>>()?; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | .collect::>>>()? [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | Box::new(fut) as Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | Box::new(fut) as Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:66:61 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_action(name: &str, config: &Value) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:77:62 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_trigger(name: &str, config: &Value) -> io::Result> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triggers/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | fn listen(&mut self, handle: Handle) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `triggers::wifi::WifiTrigger` [INFO] [stdout] --> src/driver.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | use triggers::wifi::{TRIGGER_NAME as WIFI_TRIGGER_NAME, WifiTrigger}; [INFO] [stdout] | ^^^^^^^^^^^ no `WifiTrigger` in `triggers::wifi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate futures; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/command.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn enter(&mut self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/command.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | fn leave(&mut self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn enter(&mut self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | fn leave(&mut self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn drive(ctx: Context, handle: Handle) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | .collect::>>>()?; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | .collect::>>>()? [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | Box::new(fut) as Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | Box::new(fut) as Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:66:61 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_action(name: &str, config: &Value) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:77:62 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_trigger(name: &str, config: &Value) -> io::Result> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triggers/mod.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | fn listen(&mut self, handle: Handle) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/context.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/driver.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | format!("Unknown action name '{}'.", name).as_ref(), [INFO] [stdout] | -------------------------------------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: AsRef<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runtext` [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/context.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/driver.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | format!("Unknown action name '{}'.", name).as_ref(), [INFO] [stdout] | -------------------------------------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: AsRef<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "91d72cf8468d295c8469ef77e92a7bd2e23fa73ce2007f60880dfb627fed873a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d72cf8468d295c8469ef77e92a7bd2e23fa73ce2007f60880dfb627fed873a", kill_on_drop: false }` [INFO] [stdout] 91d72cf8468d295c8469ef77e92a7bd2e23fa73ce2007f60880dfb627fed873a