[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-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalax%2Fheroku_jvm-function-invoker" "/workspace/builds/worker-31/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Malax/heroku_jvm-function-invoker on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-31/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-2022-04-10" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 608bf4cce9515bd8dfc008a563404855af432977590421affdc6c91753d658cd [INFO] running `Command { std: "docker" "start" "-a" "608bf4cce9515bd8dfc008a563404855af432977590421affdc6c91753d658cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "608bf4cce9515bd8dfc008a563404855af432977590421affdc6c91753d658cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "608bf4cce9515bd8dfc008a563404855af432977590421affdc6c91753d658cd", kill_on_drop: false }` [INFO] [stdout] 608bf4cce9515bd8dfc008a563404855af432977590421affdc6c91753d658cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c35e070d822571a762d7cf19b10ec26f090410fef9600a7c6f6708ebbc05714 [INFO] running `Command { std: "docker" "start" "-a" "1c35e070d822571a762d7cf19b10ec26f090410fef9600a7c6f6708ebbc05714", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling pathdiff v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling openssl-src v111.15.0+1.1.1k [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing v0.1.26 [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] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [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" "1c35e070d822571a762d7cf19b10ec26f090410fef9600a7c6f6708ebbc05714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c35e070d822571a762d7cf19b10ec26f090410fef9600a7c6f6708ebbc05714", kill_on_drop: false }` [INFO] [stdout] 1c35e070d822571a762d7cf19b10ec26f090410fef9600a7c6f6708ebbc05714