[INFO] cloning repository https://github.com/zyansheep/Dither [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zyansheep/Dither" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyansheep%2FDither", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyansheep%2FDither'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 367d2c4a07329133ac07a8cc0bffac58e1578d56 [INFO] checking zyansheep/Dither against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyansheep%2FDither" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zyansheep/Dither on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zyansheep/Dither [INFO] removed workspace from git repo https://github.com/zyansheep/Dither [INFO] finished tweaking git repo https://github.com/zyansheep/Dither [INFO] tweaked toml for git repo https://github.com/zyansheep/Dither written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/zyansheep/Dither already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b969394a02432df83bd5f8bf02fea5b8dd1fb1140df9c492194435edce643562 [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" "b969394a02432df83bd5f8bf02fea5b8dd1fb1140df9c492194435edce643562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b969394a02432df83bd5f8bf02fea5b8dd1fb1140df9c492194435edce643562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b969394a02432df83bd5f8bf02fea5b8dd1fb1140df9c492194435edce643562", kill_on_drop: false }` [INFO] [stdout] b969394a02432df83bd5f8bf02fea5b8dd1fb1140df9c492194435edce643562 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0da67b88e2548829af4857035e388613c8a79ca686016231f47927345483fe89 [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" "0da67b88e2548829af4857035e388613c8a79ca686016231f47927345483fe89", kill_on_drop: false }` [INFO] [stderr] Checking dither v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> cmd/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::error; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> cmd/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cursive` [INFO] [stdout] --> cmd/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cursive::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cursive` [INFO] [stdout] --> cmd/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cursive::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dither_core` [INFO] [stdout] --> cmd/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use dither_core::{Config, Client, DitherAction}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `dither_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> cmd/src/main.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> cmd/src/main.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | error!("Swarm Exited: {:?}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> cmd/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::error; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio` [INFO] [stdout] --> cmd/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cursive` [INFO] [stdout] --> cmd/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cursive::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cursive` [INFO] [stdout] --> cmd/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cursive::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dither_core` [INFO] [stdout] --> cmd/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use dither_core::{Config, Client, DitherAction}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `dither_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> cmd/src/main.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> cmd/src/main.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | error!("Swarm Exited: {:?}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> cmd/src/main.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::Builder::new().filter_level(log::LevelFilter::Info).init(); // Init Logger [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cursive` [INFO] [stdout] --> cmd/src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let mut siv = cursive::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextContent` [INFO] [stdout] --> cmd/src/main.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let mut content = TextContent::new(""); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TextContent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dialog` [INFO] [stdout] --> cmd/src/main.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | Dialog::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Dialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log` [INFO] [stdout] --> cmd/src/main.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::Builder::new().filter_level(log::LevelFilter::Info).init(); // Init Logger [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EditView` [INFO] [stdout] --> cmd/src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | EditView::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cursive` [INFO] [stdout] --> cmd/src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let mut siv = cursive::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextContent` [INFO] [stdout] --> cmd/src/main.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let mut content = TextContent::new(""); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TextContent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> cmd/src/main.rs:60:2 [INFO] [stdout] | [INFO] [stdout] 60 | tokio::spawn( async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dialog` [INFO] [stdout] --> cmd/src/main.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | Dialog::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Dialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dialog` [INFO] [stdout] --> cmd/src/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | s.add_layer(Dialog::info("Please enter a name!")); [INFO] [stdout] | ^^^^^^ use of undeclared type `Dialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EditView` [INFO] [stdout] --> cmd/src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | EditView::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dialog` [INFO] [stdout] --> cmd/src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | s.add_layer(Dialog::around(TextView::new(content)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Dialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> cmd/src/main.rs:60:2 [INFO] [stdout] | [INFO] [stdout] 60 | tokio::spawn( async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextView` [INFO] [stdout] --> cmd/src/main.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | s.add_layer(Dialog::around(TextView::new(content)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TextView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> cmd/src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::Builder::new().filter_level(log::LevelFilter::Info).init(); // Init Logger [INFO] [stdout] | ^^^^^^^ not found in `env_logger` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EditView` in this scope [INFO] [stdout] --> cmd/src/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | |view: &mut EditView| view.get_content(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dialog` [INFO] [stdout] --> cmd/src/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | s.add_layer(Dialog::info("Please enter a name!")); [INFO] [stdout] | ^^^^^^ use of undeclared type `Dialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dialog` [INFO] [stdout] --> cmd/src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | s.add_layer(Dialog::around(TextView::new(content)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Dialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextView` [INFO] [stdout] --> cmd/src/main.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | s.add_layer(Dialog::around(TextView::new(content)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TextView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> cmd/src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::Builder::new().filter_level(log::LevelFilter::Info).init(); // Init Logger [INFO] [stdout] | ^^^^^^^ not found in `env_logger` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EditView` in this scope [INFO] [stdout] --> cmd/src/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | |view: &mut EditView| view.get_content(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dither` [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[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> cmd/src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> cmd/src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0da67b88e2548829af4857035e388613c8a79ca686016231f47927345483fe89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da67b88e2548829af4857035e388613c8a79ca686016231f47927345483fe89", kill_on_drop: false }` [INFO] [stdout] 0da67b88e2548829af4857035e388613c8a79ca686016231f47927345483fe89