[INFO] cloning repository https://github.com/Plesoun/rust_crawler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Plesoun/rust_crawler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlesoun%2Frust_crawler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlesoun%2Frust_crawler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b14be6338cebe175e2c3adfb58db9644db0d848 [INFO] testing Plesoun/rust_crawler against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlesoun%2Frust_crawler" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Plesoun/rust_crawler on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Plesoun/rust_crawler [INFO] finished tweaking git repo https://github.com/Plesoun/rust_crawler [INFO] tweaked toml for git repo https://github.com/Plesoun/rust_crawler written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Plesoun/rust_crawler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded curl v0.4.30 [INFO] [stderr] Downloaded curl-sys v0.4.32+curl-7.70.0 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.4+1.41.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09d389299849f49384d9f649a7ed7b123d453e7eef85e4d3428fb3ce180f0d1d [INFO] running `Command { std: "docker" "start" "-a" "09d389299849f49384d9f649a7ed7b123d453e7eef85e4d3428fb3ce180f0d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09d389299849f49384d9f649a7ed7b123d453e7eef85e4d3428fb3ce180f0d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d389299849f49384d9f649a7ed7b123d453e7eef85e4d3428fb3ce180f0d1d", kill_on_drop: false }` [INFO] [stdout] 09d389299849f49384d9f649a7ed7b123d453e7eef85e4d3428fb3ce180f0d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 784e3a5d7bf3c5117e583f5a43b0e6121243756c9d4d8d41b8eb88b822fc5ed6 [INFO] running `Command { std: "docker" "start" "-a" "784e3a5d7bf3c5117e583f5a43b0e6121243756c9d4d8d41b8eb88b822fc5ed6", 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] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling curl v0.4.30 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling isahc v0.7.6 [INFO] [stderr] Compiling parking v1.0.4 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling sluice v0.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.32+curl-7.70.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [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 string_cache v0.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling surf v1.0.3 [INFO] [stderr] Compiling crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `return` [INFO] [stdout] --> src/main.rs:41:158 [INFO] [stdout] | [INFO] [stdout] 41 | ... println!("Available flags: use -u to select url to crawl, use -h or -help to get this help message, use -d to specify depth (int) of the search") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 42 | ... return Err("help"); [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `flag` in this scope [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if flag.contains("-h") || flag.contains("-help") && args.len() == 2 [INFO] [stdout] | ^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `flag` in this scope [INFO] [stdout] --> src/main.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | if flag.contains("-h") || flag.contains("-help") && args.len() == 2 [INFO] [stdout] | ^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `flag` in this scope [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | else if flag.contains("-h") || flag.contains("-help") [INFO] [stdout] | ^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `flag` in this scope [INFO] [stdout] --> src/main.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | else if flag.contains("-h") || flag.contains("-help") [INFO] [stdout] | ^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `flag` in this scope [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | else if flag.contains("-u") [INFO] [stdout] | ^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crawler` due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "784e3a5d7bf3c5117e583f5a43b0e6121243756c9d4d8d41b8eb88b822fc5ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "784e3a5d7bf3c5117e583f5a43b0e6121243756c9d4d8d41b8eb88b822fc5ed6", kill_on_drop: false }` [INFO] [stdout] 784e3a5d7bf3c5117e583f5a43b0e6121243756c9d4d8d41b8eb88b822fc5ed6