$ umask 022 && mkdir -p "/tmp/pkgmk-rust/pkg/usr/lib/rustlib"
$ echo "3" > "/tmp/pkgmk-rust/pkg/usr/lib/rustlib/rust-installer-version"
install: creating uninstall script at /tmp/pkgmk-rust/pkg/usr/lib/rustlib/uninstall.sh
$ cp /tmp/pkgmk-rust/src/rustc-1.94.1-src/build/tmp/tarball/rustfmt/x86_64-unknown-linux-musl/rustfmt-1.94.1-x86_64-unknown-linux-musl/install.sh /tmp/pkgmk-rust/pkg/usr/lib/rustlib/uninstall.sh
install: installing component 'rustfmt-preview'
$ echo "rustfmt-preview" >> "/tmp/pkgmk-rust/pkg/usr/lib/rustlib/components"
$ umask 022 && mkdir -p "/tmp/pkgmk-rust/pkg/usr/bin"
install: copying file /tmp/pkgmk-rust/pkg/usr/bin/cargo-fmt
$ cp /tmp/pkgmk-rust/src/rustc-1.94.1-src/build/tmp/tarball/rustfmt/x86_64-unknown-linux-musl/rustfmt-1.94.1-x86_64-unknown-linux-musl/rustfmt-preview/bin/cargo-fmt /tmp/pkgmk-rust/pkg/usr/bin/cargo-fmt
$ chmod 755 /tmp/pkgmk-rust/pkg/usr/bin/cargo-fmt
$ echo "file:/tmp/pkgmk-rust/pkg/usr/bin/cargo-fmt" >> "/tmp/pkgmk-rust/pkg/usr/lib/rustlib/manifest-rustfmt-preview"
$ umask 022 && mkdir -p "/tmp/pkgmk-rust/pkg/usr/bin"
install: copying file /tmp/pkgmk-rust/pkg/usr/bin/rustfmt
$ cp /tmp/pkgmk-rust/src/rustc-1.94.1-src/build/tmp/tarball/rustfmt/x86_64-unknown-linux-musl/rustfmt-1.94.1-x86_64-unknown-linux-musl/rustfmt-preview/bin/rustfmt /tmp/pkgmk-rust/pkg/usr/bin/rustfmt
$ chmod 755 /tmp/pkgmk-rust/pkg/usr/bin/rustfmt
$ echo "file:/tmp/pkgmk-rust/pkg/usr/bin/rustfmt" >> "/tmp/pkgmk-rust/pkg/usr/lib/rustlib/manifest-rustfmt-preview"
$ umask 022 && mkdir -p "/tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt"
install: copying file /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-APACHE
$ cp /tmp/pkgmk-rust/src/rustc-1.94.1-src/build/tmp/tarball/rustfmt/x86_64-unknown-linux-musl/rustfmt-1.94.1-x86_64-unknown-linux-musl/rustfmt-preview/share/doc/rustfmt/LICENSE-APACHE /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-APACHE
$ chmod 644 /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-APACHE
$ echo "file:/tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-APACHE" >> "/tmp/pkgmk-rust/pkg/usr/lib/rustlib/manifest-rustfmt-preview"
$ umask 022 && mkdir -p "/tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt"
install: copying file /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-MIT
$ cp /tmp/pkgmk-rust/src/rustc-1.94.1-src/build/tmp/tarball/rustfmt/x86_64-unknown-linux-musl/rustfmt-1.94.1-x86_64-unknown-linux-musl/rustfmt-preview/share/doc/rustfmt/LICENSE-MIT /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-MIT
$ chmod 644 /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-MIT
$ echo "file:/tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/LICENSE-MIT" >> "/tmp/pkgmk-rust/pkg/usr/lib/rustlib/manifest-rustfmt-preview"
$ umask 022 && mkdir -p "/tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt"
install: copying file /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/README.md
$ cp /tmp/pkgmk-rust/src/rustc-1.94.1-src/build/tmp/tarball/rustfmt/x86_64-unknown-linux-musl/rustfmt-1.94.1-x86_64-unknown-linux-musl/rustfmt-preview/share/doc/rustfmt/README.md /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/README.md
$ chmod 644 /tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/README.md
$ echo "file:/tmp/pkgmk-rust/pkg/usr/share/doc/rustfmt/README.md" >> "/tmp/pkgmk-rust/pkg/usr/lib/rustlib/manifest-rustfmt-preview"
