[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 master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fcodefog" "/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/FauxFaux/codefog on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e3080a0b65e1a17e7ad41e95037b8d2b67c2d4aadf2f9d34e0a3666eca43173 [INFO] running `Command { std: "docker" "start" "-a" "1e3080a0b65e1a17e7ad41e95037b8d2b67c2d4aadf2f9d34e0a3666eca43173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e3080a0b65e1a17e7ad41e95037b8d2b67c2d4aadf2f9d34e0a3666eca43173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3080a0b65e1a17e7ad41e95037b8d2b67c2d4aadf2f9d34e0a3666eca43173", kill_on_drop: false }` [INFO] [stdout] 1e3080a0b65e1a17e7ad41e95037b8d2b67c2d4aadf2f9d34e0a3666eca43173 [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=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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d82e82d0c066e293f44e25a45496fde16cd33b754a388b579012f2a17ae6c3c9 [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" "d82e82d0c066e293f44e25a45496fde16cd33b754a388b579012f2a17ae6c3c9", 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 proc-macro2 v0.4.26 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [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 regex-syntax v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking gzip-header v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking backtrace-sys v0.1.28 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking filetime v0.2.4 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking threadpool v1.7.1 [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] Compiling syn v0.15.26 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking multipart v0.15.4 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking serde_json v1.0.37 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.85 [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] [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] [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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Response` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Response` [INFO] [stdout] found enum `std::result::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" "d82e82d0c066e293f44e25a45496fde16cd33b754a388b579012f2a17ae6c3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d82e82d0c066e293f44e25a45496fde16cd33b754a388b579012f2a17ae6c3c9", kill_on_drop: false }` [INFO] [stdout] d82e82d0c066e293f44e25a45496fde16cd33b754a388b579012f2a17ae6c3c9