Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose-quickstart.yml failed on the "cargo build --release" step #117

Open
Hunter37 opened this issue Feb 29, 2024 · 0 comments
Open

Comments

@Hunter37
Copy link

Describe the bug
docker-compose-quickstart.yml failed on the "cargo build --release" step

To Reproduce

  1. Follow the steps from the Totorial
  2. In the step "Create container images and run application", docker compose command failed

Error

110.4    Compiling time-macros v0.2.17
111.7    Compiling miniz_oxide v0.7.1
124.3 The following warnings were emitted during compilation:
124.3
124.3 warning: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
124.3 warning: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
124.3 warning: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
124.3 warning: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
124.3 warning: Failed to run `rustfmt` on ISLE-generated code: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
124.3
124.3 error: could not compile `cranelift-codegen` (lib)
124.3
124.3 Caused by:
124.3   process didn't exit successfully: `/usr/local/rustup/toolchains/1.71.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name cranelift_codegen --edition=2021 /usr/local/cargo/git/checkouts/wasmtime-41807828cb3a7a7e/d2d52de/cranelift/codegen/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="gimli"' --cfg 'feature="host-arch"' --cfg 'feature="std"' --cfg 'feature="unwind"' -C metadata=fd2672b737491666 -C extra-filename=-fd2672b737491666 --out-dir /product-service/target/release/deps -L dependency=/product-service/target/release/deps --extern bumpalo=/product-service/target/release/deps/libbumpalo-51867bc8407bd2c4.rmeta --extern cranelift_bforest=/product-service/target/release/deps/libcranelift_bforest-fcc0a5e10c43642f.rmeta --extern cranelift_codegen_shared=/product-service/target/release/deps/libcranelift_codegen_shared-476bab6346790238.rmeta --extern cranelift_control=/product-service/target/release/deps/libcranelift_control-293578d895c9c474.rmeta --extern cranelift_entity=/product-service/target/release/deps/libcranelift_entity-28b8b98f3278710c.rmeta --extern gimli=/product-service/target/release/deps/libgimli-6b438b41a4ab53a1.rmeta --extern hashbrown=/product-service/target/release/deps/libhashbrown-9c71eec4057772df.rmeta --extern log=/product-service/target/release/deps/liblog-f4212246997fb990.rmeta --extern regalloc2=/product-service/target/release/deps/libregalloc2-1611756928eaac44.rmeta --extern smallvec=/product-service/target/release/deps/libsmallvec-fb10b8d8d9696e28.rmeta --extern target_lexicon=/product-service/target/release/deps/libtarget_lexicon-74367c5154a2f425.rmeta --cap-lints allow --cfg 'feature="x86"'` (signal: 9, SIGKILL: kill)
124.3 warning: build failed, waiting for other jobs to finish...
------
failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101

Screenshot
Screenshot 2024-02-29 111904

Environment

  • OS: Windows 1` Enterprise
  • Docker Desktop 4.28.0
  • Docker compose v2.24.6-desktop.1
  • Docker:
       Client:
        Cloud integration: v1.0.35+desktop.11
        Version:           25.0.3
        API version:       1.44
        Go version:        go1.21.6
        Git commit:        4debf41
        Built:             Tue Feb  6 21:13:02 2024
        OS/Arch:           windows/amd64
        Context:           default
       
       Server: Docker Desktop 4.28.0 (139021)
        Engine:
         Version:          25.0.3
         API version:      1.44 (minimum version 1.24)
         Go version:       go1.21.6
         Git commit:       f417435
         Built:            Tue Feb  6 21:14:25 2024
         OS/Arch:          linux/amd64
         Experimental:     false
        containerd:
         Version:          1.6.28
         GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
        runc:
         Version:          1.1.12
         GitCommit:        v1.1.12-0-g51d5e94
        docker-init:
         Version:          0.19.0
         GitCommit:        de40ad0
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant