[INFO] cloning repository https://github.com/jamestthompson3/place [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamestthompson3/place" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamestthompson3%2Fplace"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamestthompson3%2Fplace'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 214eda0f3bf3ef50f12258df6ec06405e4d12d5c [INFO] testing jamestthompson3/place against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamestthompson3%2Fplace" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamestthompson3/place on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jamestthompson3/place [INFO] finished tweaking git repo https://github.com/jamestthompson3/place [INFO] tweaked toml for git repo https://github.com/jamestthompson3/place written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/jamestthompson3/place already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+beta-2020-06-03" "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] 0284bf474fdfc94267a48be6d9da083dfd5038b22cb6e900776e10ecbcd34927 [INFO] running `"docker" "start" "-a" "0284bf474fdfc94267a48be6d9da083dfd5038b22cb6e900776e10ecbcd34927"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling parking v1.0.0 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling dtoa-short v0.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling blocking v0.4.2 [INFO] [stderr] Compiling piper v0.1.1 [INFO] [stderr] Compiling smol v0.1.7 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling place v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find value `home` in this scope [INFO] [stderr] --> src/filesystem/mod.rs:27:63 [INFO] [stderr] | [INFO] [stderr] 27 | DirBuilder::new().create(format!("{}/.place-app", home)) [INFO] [stderr] | ^^^^ help: a tuple variant with a similar name exists: `Some` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found struct `File` [INFO] [stderr] --> src/filesystem/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | File.open(file_path) [INFO] [stderr] | ^^^^----- [INFO] [stderr] | | [INFO] [stderr] | help: use the path separator to refer to an item: `File::open` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/filesystem/mod.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn get_app_root_path() -> str { [INFO] [stderr] | ^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/filesystem/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn get_app_root_path() -> str { [INFO] [stderr] | --- expected `str` because of return type [INFO] [stderr] ... [INFO] [stderr] 9 | app_root_path [INFO] [stderr] | ^^^^^^^^^^^^^ expected `str`, found struct `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/filesystem/mod.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let app_root_path = get_app_root_path(); [INFO] [stderr] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `fn() -> str {filesystem::get_app_root_path}: std::convert::AsRef` is not satisfied [INFO] [stderr] --> src/filesystem/mod.rs:14:33 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn get_app_root_path() -> str { [INFO] [stderr] | ----------------- consider calling this function [INFO] [stderr] ... [INFO] [stderr] 14 | let data_dir = fs::metadata(get_app_root_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `std::convert::AsRef` is not implemented for `fn() -> str {filesystem::get_app_root_path}` [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the function [INFO] [stderr] | [INFO] [stderr] 14 | let data_dir = fs::metadata(get_app_root_path()); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/filesystem/mod.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | let app_root_path = get_app_root_path(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] ... [INFO] [stderr] 27 | DirBuilder::new().create(format!("{}/.place-app", home)) [INFO] [stderr] | -------------------------------------------------------- this returned value is of type `std::result::Result<(), futures_io::Error>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/filesystem/mod.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | let file_path = format!("{}/{}", get_app_root_path(), path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [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[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/filesystem/mod.rs:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | let file_path = format!("{}/{}", get_app_root_path(), path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] 34 | File.open(file_path) [INFO] [stderr] | -------------------- this returned value is of type `[type error]` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0423, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `place`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0284bf474fdfc94267a48be6d9da083dfd5038b22cb6e900776e10ecbcd34927"` [INFO] running `"docker" "rm" "-f" "0284bf474fdfc94267a48be6d9da083dfd5038b22cb6e900776e10ecbcd34927"` [INFO] [stdout] 0284bf474fdfc94267a48be6d9da083dfd5038b22cb6e900776e10ecbcd34927