[INFO] cloning repository https://github.com/Malax/heroku_jvm-function-invoker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Malax/heroku_jvm-function-invoker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalax%2Fheroku_jvm-function-invoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalax%2Fheroku_jvm-function-invoker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cf0dac8a68169685932c1efc66113b2ee311aa5 [INFO] checking Malax/heroku_jvm-function-invoker against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalax%2Fheroku_jvm-function-invoker" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Malax/heroku_jvm-function-invoker on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Malax/heroku_jvm-function-invoker [INFO] finished tweaking git repo https://github.com/Malax/heroku_jvm-function-invoker [INFO] tweaked toml for git repo https://github.com/Malax/heroku_jvm-function-invoker written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Malax/heroku_jvm-function-invoker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] 390938c419a775b33e80ecda46c777679147f512270fbac92eb17db716017019 [INFO] running `Command { std: "docker" "start" "-a" "390938c419a775b33e80ecda46c777679147f512270fbac92eb17db716017019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "390938c419a775b33e80ecda46c777679147f512270fbac92eb17db716017019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "390938c419a775b33e80ecda46c777679147f512270fbac92eb17db716017019", kill_on_drop: false }` [INFO] [stdout] 390938c419a775b33e80ecda46c777679147f512270fbac92eb17db716017019 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a19803b1b7f9218057dfd91745738379f683e8a97987bcf4d12241bddc09365 [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" "3a19803b1b7f9218057dfd91745738379f683e8a97987bcf4d12241bddc09365", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking pathdiff v0.2.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling openssl-src v111.15.0+1.1.1k [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking tar v0.4.37 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking libcnb v0.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking libherokubuildpack v0.1.1 [INFO] [stderr] Checking jvm-function-invoker-buildpack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | log_error("Unexpected Error")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | log_error("Unexpected Error")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 36 | | An error occurred while copying files from the buildpack directory to the container. [INFO] [stdout] 37 | | {io_error} [INFO] [stdout] 38 | | ", io_error = io_error}) [INFO] [stdout] | |________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 44 | | An error occurred while downloading the Java function runtime. In some cases, [INFO] [stdout] 45 | | this happens due to an unstable network connection. Please try again and see [INFO] [stdout] 46 | | if the error resolves itself. [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | {download_error} [INFO] [stdout] 49 | | ", download_error = download_error}) [INFO] [stdout] | |________________________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 53 | | The integrity of the downloaded Java function runtime could not be verified [INFO] [stdout] 54 | | because an unexpected IO error occurred during the process: [INFO] [stdout] 55 | | {io_error} [INFO] [stdout] 56 | | ", io_error = io_error}) [INFO] [stdout] | |____________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 60 | | The integrity check of the downloaded Java function runtime failed. The [INFO] [stdout] 61 | | downloaded binary has an unexpected SHA256 checksum: [INFO] [stdout] 62 | | {checksum} [INFO] [stdout] 63 | | ", checksum = checksum}) [INFO] [stdout] | |____________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | BundleLayerError::NoFunctionsFound => log_error("No functions found")(indoc! {" [INFO] [stdout] | ^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | BundleLayerError::NoFunctionsFound => log_error("No functions found")(indoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | ___________________________________________________| [INFO] [stdout] | | [INFO] [stdout] 68 | | Your project does not seem to contain any Java functions. [INFO] [stdout] 69 | | The output above might contain information about issues with your function. [INFO] [stdout] 70 | | "}), [INFO] [stdout] | |___________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | log_error("Multiple functions found")(indoc! {" [INFO] [stdout] | ^^^^^^^^^ -------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | log_error("Multiple functions found")(indoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 73 | | Your project contains multiple Java functions. [INFO] [stdout] 74 | | Currently, only projects that contain exactly one (1) function are supported. [INFO] [stdout] 75 | | "}) [INFO] [stdout] | |_______________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 79 | | Function detection failed with internal error \"{exit_code}\" [INFO] [stdout] 80 | | ", exit_code = exit_code }) [INFO] [stdout] | |_______________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | log_error("Detection failed")(indoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | log_error("Detection failed")(indoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 84 | | Function detection was unexpectedly terminated without an exit code. [INFO] [stdout] 85 | | "}) [INFO] [stdout] | |_______________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 89 | | An unexpected IO error occurred during the detect phase: [INFO] [stdout] 90 | | {io_error} [INFO] [stdout] 91 | | ", io_error = io_error}) [INFO] [stdout] | |____________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 95 | | Could not read function bundle metadata after running detection phase: [INFO] [stdout] 96 | | {toml_error} [INFO] [stdout] 97 | | ", toml_error = toml_error}) [INFO] [stdout] | |________________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | log_error("Could not write launch.toml")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | log_error("Could not write launch.toml")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _____________| [INFO] [stdout] | | [INFO] [stdout] 102 | | Could not not write launch.toml: {toml_error} [INFO] [stdout] 103 | | ", toml_error = toml_error}) [INFO] [stdout] | |________________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jvm-function-invoker-buildpack` due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | log_error("Unexpected Error")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | log_error("Unexpected Error")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 36 | | An error occurred while copying files from the buildpack directory to the container. [INFO] [stdout] 37 | | {io_error} [INFO] [stdout] 38 | | ", io_error = io_error}) [INFO] [stdout] | |________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 44 | | An error occurred while downloading the Java function runtime. In some cases, [INFO] [stdout] 45 | | this happens due to an unstable network connection. Please try again and see [INFO] [stdout] 46 | | if the error resolves itself. [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | {download_error} [INFO] [stdout] 49 | | ", download_error = download_error}) [INFO] [stdout] | |________________________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 53 | | The integrity of the downloaded Java function runtime could not be verified [INFO] [stdout] 54 | | because an unexpected IO error occurred during the process: [INFO] [stdout] 55 | | {io_error} [INFO] [stdout] 56 | | ", io_error = io_error}) [INFO] [stdout] | |____________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | log_error("Runtime installation failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 60 | | The integrity check of the downloaded Java function runtime failed. The [INFO] [stdout] 61 | | downloaded binary has an unexpected SHA256 checksum: [INFO] [stdout] 62 | | {checksum} [INFO] [stdout] 63 | | ", checksum = checksum}) [INFO] [stdout] | |____________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | BundleLayerError::NoFunctionsFound => log_error("No functions found")(indoc! {" [INFO] [stdout] | ^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | BundleLayerError::NoFunctionsFound => log_error("No functions found")(indoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | ___________________________________________________| [INFO] [stdout] | | [INFO] [stdout] 68 | | Your project does not seem to contain any Java functions. [INFO] [stdout] 69 | | The output above might contain information about issues with your function. [INFO] [stdout] 70 | | "}), [INFO] [stdout] | |___________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | log_error("Multiple functions found")(indoc! {" [INFO] [stdout] | ^^^^^^^^^ -------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | log_error("Multiple functions found")(indoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 73 | | Your project contains multiple Java functions. [INFO] [stdout] 74 | | Currently, only projects that contain exactly one (1) function are supported. [INFO] [stdout] 75 | | "}) [INFO] [stdout] | |_______________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 79 | | Function detection failed with internal error \"{exit_code}\" [INFO] [stdout] 80 | | ", exit_code = exit_code }) [INFO] [stdout] | |_______________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | log_error("Detection failed")(indoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | log_error("Detection failed")(indoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 84 | | Function detection was unexpectedly terminated without an exit code. [INFO] [stdout] 85 | | "}) [INFO] [stdout] | |_______________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 89 | | An unexpected IO error occurred during the detect phase: [INFO] [stdout] 90 | | {io_error} [INFO] [stdout] 91 | | ", io_error = io_error}) [INFO] [stdout] | |____________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | log_error("Detection failed")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _________________| [INFO] [stdout] | | [INFO] [stdout] 95 | | Could not read function bundle metadata after running detection phase: [INFO] [stdout] 96 | | {toml_error} [INFO] [stdout] 97 | | ", toml_error = toml_error}) [INFO] [stdout] | |________________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/error.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | log_error("Could not write launch.toml")(formatdoc! {" [INFO] [stdout] | ^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libherokubuildpack-0.1.1/src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_error(header: impl AsRef, body: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/error.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | log_error("Could not write launch.toml")(formatdoc! {" [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | _____________| [INFO] [stdout] | | [INFO] [stdout] 102 | | Could not not write launch.toml: {toml_error} [INFO] [stdout] 103 | | ", toml_error = toml_error}) [INFO] [stdout] | |________________________________________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0618. [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" "3a19803b1b7f9218057dfd91745738379f683e8a97987bcf4d12241bddc09365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a19803b1b7f9218057dfd91745738379f683e8a97987bcf4d12241bddc09365", kill_on_drop: false }` [INFO] [stdout] 3a19803b1b7f9218057dfd91745738379f683e8a97987bcf4d12241bddc09365