[INFO] cloning repository https://github.com/FauxFaux/codefog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FauxFaux/codefog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fcodefog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fcodefog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d8b80347a52f93bb1f4d6f194381d8d1c550d02 [INFO] checking FauxFaux/codefog against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fcodefog" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FauxFaux/codefog on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FauxFaux/codefog [INFO] finished tweaking git repo https://github.com/FauxFaux/codefog [INFO] tweaked toml for git repo https://github.com/FauxFaux/codefog written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/FauxFaux/codefog already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multipart v0.15.4 [INFO] [stderr] Downloaded buf_redux v0.8.1 [INFO] [stderr] Downloaded rouille v3.0.0 [INFO] [stderr] Downloaded gzip-header v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb13f934253be1c5013abb641af1caecf762c089bb5a20ba2d7ccea68877110d [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" "bb13f934253be1c5013abb641af1caecf762c089bb5a20ba2d7ccea68877110d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb13f934253be1c5013abb641af1caecf762c089bb5a20ba2d7ccea68877110d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb13f934253be1c5013abb641af1caecf762c089bb5a20ba2d7ccea68877110d", kill_on_drop: false }` [INFO] [stdout] bb13f934253be1c5013abb641af1caecf762c089bb5a20ba2d7ccea68877110d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fe688d7dd3255e4953a5a6d260ca5af04f7bcbf49728d02c903672096f550a [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" "d4fe688d7dd3255e4953a5a6d260ca5af04f7bcbf49728d02c903672096f550a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking gzip-header v0.2.0 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking backtrace-sys v0.1.28 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking filetime v0.2.4 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking serde_json v1.0.37 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking multipart v0.15.4 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking rouille v3.0.0 [INFO] [stderr] Checking codefog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `search` in this scope [INFO] [stdout] --> src/main.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | (GET) ["/api/search"] => { search(request) }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | request.get_param("q").ok_or() [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `search` in this scope [INFO] [stdout] --> src/main.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | (GET) ["/api/search"] => { search(request) }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | request.get_param("q").ok_or() [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn gallery_get(request: &Request) -> Response { [INFO] [stdout] | -------- expected `Response` because of return type [INFO] [stdout] 10 | request.get_param("q").ok_or() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Response`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Response` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codefog` [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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn gallery_get(request: &Request) -> Response { [INFO] [stdout] | -------- expected `Response` because of return type [INFO] [stdout] 10 | request.get_param("q").ok_or() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Response`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Response` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d4fe688d7dd3255e4953a5a6d260ca5af04f7bcbf49728d02c903672096f550a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fe688d7dd3255e4953a5a6d260ca5af04f7bcbf49728d02c903672096f550a", kill_on_drop: false }` [INFO] [stdout] d4fe688d7dd3255e4953a5a6d260ca5af04f7bcbf49728d02c903672096f550a