[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] testing Malax/heroku_jvm-function-invoker against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalax%2Fheroku_jvm-function-invoker" "/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/Malax/heroku_jvm-function-invoker on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-6/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libcnb v0.2.0 [INFO] [stderr] Downloaded libherokubuildpack v0.1.1 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f8f2c521de714bdbd27109da03aa6d6518398f89b68a02d76f785b0273df5b3 [INFO] running `Command { std: "docker" "start" "-a" "0f8f2c521de714bdbd27109da03aa6d6518398f89b68a02d76f785b0273df5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f8f2c521de714bdbd27109da03aa6d6518398f89b68a02d76f785b0273df5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f8f2c521de714bdbd27109da03aa6d6518398f89b68a02d76f785b0273df5b3", kill_on_drop: false }` [INFO] [stdout] 0f8f2c521de714bdbd27109da03aa6d6518398f89b68a02d76f785b0273df5b3 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 325120b7b42147ef5237b9642af923ede08c813c413635cbecf32ed101f0b356 [INFO] running `Command { std: "docker" "start" "-a" "325120b7b42147ef5237b9642af923ede08c813c413635cbecf32ed101f0b356", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling pathdiff v0.2.0 [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 openssl-src v111.15.0+1.1.1k [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling libcnb v0.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling libherokubuildpack v0.1.1 [INFO] [stderr] Compiling 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] running `Command { std: "docker" "inspect" "325120b7b42147ef5237b9642af923ede08c813c413635cbecf32ed101f0b356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325120b7b42147ef5237b9642af923ede08c813c413635cbecf32ed101f0b356", kill_on_drop: false }` [INFO] [stdout] 325120b7b42147ef5237b9642af923ede08c813c413635cbecf32ed101f0b356