[INFO] updating cached repository https://github.com/SOF3/fstree [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5665df5cebc7aeb32e68ce49d32b1880dd81bbe2 [INFO] testing SOF3/fstree against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSOF3%2Ffstree" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SOF3/fstree on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/SOF3/fstree [INFO] finished tweaking git repo https://github.com/SOF3/fstree [INFO] tweaked toml for git repo https://github.com/SOF3/fstree written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 30f052af3377ef9cbe1892459705628159b6232822789e7f259b9059a8b36d4b [INFO] running `"docker" "start" "-a" "30f052af3377ef9cbe1892459705628159b6232822789e7f259b9059a8b36d4b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling webbrowser v0.5.2 [INFO] [stderr] Compiling byte-unit v3.1.3 [INFO] [stderr] Compiling filesize v0.1.0 [INFO] [stderr] Compiling count-write v0.1.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling include-flate-codegen v0.1.3 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling tar v0.4.28 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling include-flate-codegen-exports v0.1.3 [INFO] [stderr] Compiling include-flate v0.1.3 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling awc v0.2.8 [INFO] [stderr] Compiling actix-web v1.0.9 [INFO] [stderr] Compiling actix-files v0.1.7 [INFO] [stderr] Compiling fstree v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: couldn't read /opt/rustwide/workdir/web/fstree-web.tar.gz: No such file or directory (os error 2) [INFO] [stderr] --> src/web.rs:46:15 [INFO] [stderr] | [INFO] [stderr] 46 | let tgz = include_bytes!(concat!( [INFO] [stderr] | _______________^ [INFO] [stderr] 47 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stderr] 48 | | "/web/fstree-web.tar.gz" [INFO] [stderr] 49 | | )); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::timer` [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use tokio::timer; [INFO] [stderr] | ^^^^^^^^^^^^ no `timer` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::fs` [INFO] [stderr] --> src/history.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use tokio::fs; [INFO] [stderr] | ^^^^^^^^^ no `fs` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `io` [INFO] [stderr] --> src/crawl.rs:83:15 [INFO] [stderr] | [INFO] [stderr] 83 | impl From for Node { [INFO] [stderr] | ^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::http::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Error; [INFO] [stderr] | [INFO] [stderr] and 13 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `io` [INFO] [stderr] --> src/crawl.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | fn from(error: io::Error) -> Node { [INFO] [stderr] | ^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::http::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Error; [INFO] [stderr] | [INFO] [stderr] and 13 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `io` [INFO] [stderr] --> src/crawl.rs:160:15 [INFO] [stderr] | [INFO] [stderr] 160 | impl From for StaticError { [INFO] [stderr] | ^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::http::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Error; [INFO] [stderr] | [INFO] [stderr] and 13 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `io` [INFO] [stderr] --> src/crawl.rs:161:22 [INFO] [stderr] | [INFO] [stderr] 161 | fn from(err: io::Error) -> Self { [INFO] [stderr] | ^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::http::Error; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Error; [INFO] [stderr] | [INFO] [stderr] and 13 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `io` [INFO] [stderr] --> src/crawl.rs:341:16 [INFO] [stderr] | [INFO] [stderr] 341 | entry: io::Result, [INFO] [stderr] | ^^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] and 14 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `io` [INFO] [stderr] --> src/crawl.rs:357:16 [INFO] [stderr] | [INFO] [stderr] 357 | entry: io::Result, [INFO] [stderr] | ^^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] and 14 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `io` [INFO] [stderr] --> src/crawl.rs:359:10 [INFO] [stderr] | [INFO] [stderr] 359 | ) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] and 14 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `io` [INFO] [stderr] --> src/crawl.rs:420:71 [INFO] [stderr] | [INFO] [stderr] 420 | async fn metadata_to_size(path: &PathBuf, metadata: &Metadata) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in `io` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use actix_web::error::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 17 | use core::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] and 14 other candidates [INFO] [stderr] [INFO] [stderr] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stderr] --> src/main.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | async fn main() -> Result { [INFO] [stderr] | ^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/crawl.rs:272:28 [INFO] [stderr] | [INFO] [stderr] 272 | Err(err) => return err.into(), [INFO] [stderr] | ^^^ cannot infer type [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/crawl.rs:421:16 [INFO] [stderr] | [INFO] [stderr] 421 | let real = filesize::file_real_size_fast(path, metadata)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stderr] --> src/history.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use futures_util::stream::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> src/main.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | async fn main() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0282, E0412, E0432, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `fstree`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "30f052af3377ef9cbe1892459705628159b6232822789e7f259b9059a8b36d4b"` [INFO] running `"docker" "rm" "-f" "30f052af3377ef9cbe1892459705628159b6232822789e7f259b9059a8b36d4b"` [INFO] [stdout] 30f052af3377ef9cbe1892459705628159b6232822789e7f259b9059a8b36d4b