[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] testing NeoLegends/runtext against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeoLegends%2Fruntext" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NeoLegends/runtext on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-13/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e95fd8e2666d1c185b8fa15d111c0422c4681620255becd4da0d99fd5b2f1764 [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" "e95fd8e2666d1c185b8fa15d111c0422c4681620255becd4da0d99fd5b2f1764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e95fd8e2666d1c185b8fa15d111c0422c4681620255becd4da0d99fd5b2f1764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e95fd8e2666d1c185b8fa15d111c0422c4681620255becd4da0d99fd5b2f1764", kill_on_drop: false }` [INFO] [stdout] e95fd8e2666d1c185b8fa15d111c0422c4681620255becd4da0d99fd5b2f1764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a0f45cf281dfd6f831160d09a732979b3f0731422f67f97341082b1d4ff918d [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" "1a0f45cf281dfd6f831160d09a732979b3f0731422f67f97341082b1d4ff918d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling futures-stream-select-all v0.1.2 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling mio v0.6.12 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling tokio-core v0.1.12 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling 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" or "src/triggers/wifi/imp/mod.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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef<[u8]> for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/driver.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | _ => Err(io::Error::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Box<(dyn std::error::Error + Sync + std::marker::Send + 'static)>: From<&_>` found in the `std` crate: [INFO] [stdout] - impl<'a, E> From for Box<(dyn std::error::Error + Sync + std::marker::Send + 'a)> [INFO] [stdout] where E: 'a, E: std::error::Error, E: std::marker::Send, E: Sync; [INFO] [stdout] - impl<'a> From<&str> for Box<(dyn std::error::Error + Sync + std::marker::Send + 'a)>; [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `&_` [INFO] [stdout] note: required by a bound in `std::io::Error::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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` due to 5 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a0f45cf281dfd6f831160d09a732979b3f0731422f67f97341082b1d4ff918d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a0f45cf281dfd6f831160d09a732979b3f0731422f67f97341082b1d4ff918d", kill_on_drop: false }` [INFO] [stdout] 1a0f45cf281dfd6f831160d09a732979b3f0731422f67f97341082b1d4ff918d