Package Details: popsicle 1.3.3-1

Git Clone URL: https://aur.archlinux.org/popsicle.git (read-only, click to copy)
Package Base: popsicle
Description: Linux utility for flashing multiple USB devices in parallel, written in Rust
Upstream URL: https://github.com/pop-os/popsicle
Licenses: MIT
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 3
Popularity: 0.000194
First Submitted: 2020-12-12 17:51 (UTC)
Last Updated: 2024-01-09 21:33 (UTC)

Latest Comments

yochananmarqos commented on 2024-01-02 19:30 (UTC) (edited on 2024-01-02 19:31 (UTC) by yochananmarqos)

@FabioLolix: It should be three backticks above and below:

```

paste output here

```

FabioLolix commented on 2024-01-02 19:25 (UTC)

@George528 Please mark things as errors/debug output by adding backticks around them for readibility (example with 1 before and after):

`example with 3 backticks above and below`

georgerabus commented on 2024-01-02 19:18 (UTC) (edited on 2024-01-02 21:03 (UTC) by georgerabus)

error: failed to run custom build command for `loopdev v0.4.0`

Caused by:
  process didn't exit successfully: `/home/george/.cache/yay/popsicle/src/popsicle/target/release/build/loopdev-13cf59a56d32320a/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/george/.cache/yay/popsicle/src/popsicle/vendor/proc-macro2/src/fallback.rs:791:9:
  "enum_(unnamed_at_/usr/include/linux/loop_h_16_1)" is not a valid Ident
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:107: target/release/popsicle-gtk] Error 101
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: popsicle-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
popsicle - exit status 4

flyingcakes commented on 2021-08-01 06:04 (UTC)

The build is failing when using rust package. If I install rustup beforehand, cargo fetches tool chain for version 1.40.0 before build, and it succeeds.

Scotty_Trees commented on 2021-08-01 05:33 (UTC)

@FabioLolix No worries, take all the time you need. Popsicle is a great USB writer. In the meantime I'll do as you suggested and give Popsicle-bin a go for now. I'll check back to test any updates/fixes once they are available. Thank you for your time & work, much appreciaited!

FabioLolix commented on 2021-08-01 05:23 (UTC)

I can confirm the problem, for the moment use popsicle-git or popsicle-bin

Scotty_Trees commented on 2021-08-01 05:09 (UTC)

Greetings, just tried to install this and got a build error and it aborted. Below is the following error. Any help/fix would be appreciated, thank you.

Preparing...
Cloning popsicle build files...
Checking popsicle dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building popsicle...
==> Making package: popsicle 1.3.0-1 (Sun 01 Aug 2021 12:13:34 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found popsicle-1.3.0.tar.gz
==> Validating source files with sha256sums...
    popsicle-1.3.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting popsicle-1.3.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
cargo build --manifest-path cli/Cargo.toml --release
   Compiling libc v0.2.66
   Compiling proc-macro2 v1.0.6
   Compiling unicode-xid v0.2.0
   Compiling syn v1.0.11
   Compiling cfg-if v0.1.10
   Compiling lazy_static v1.4.0
   Compiling autocfg v0.1.7
   Compiling semver-parser v0.7.0
   Compiling futures-core v0.3.1
   Compiling slab v0.4.2
   Compiling memchr v2.2.1
   Compiling log v0.4.8
   Compiling proc-macro-nested v0.1.3
   Compiling pin-utils v0.1.0-alpha.4
   Compiling futures-sink v0.3.1
   Compiling futures-io v0.3.1
   Compiling futures-task v0.3.1
   Compiling scopeguard v1.0.0
   Compiling byteorder v1.3.2
   Compiling bitflags v1.2.1
   Compiling cc v1.0.48
   Compiling pin-project-lite v0.1.1
   Compiling once_cell v1.2.0
   Compiling serde v1.0.104
   Compiling futures-timer v2.0.2
   Compiling regex-syntax v0.6.12
   Compiling anyhow v1.0.25
   Compiling rustc-demangle v0.1.16
   Compiling unicode-width v0.1.7
   Compiling bytes v0.5.3
   Compiling vec_map v0.8.1
   Compiling as-result v0.2.1
   Compiling strsim v0.8.0
   Compiling ansi_term v0.11.0
   Compiling cascade v0.1.4
   Compiling fomat-macros v0.3.1
   Compiling crossbeam-utils v0.6.6
   Compiling genawaiter v0.2.2
   Compiling semver v0.9.0
   Compiling crossbeam-utils v0.7.0
   Compiling crossbeam-epoch v0.8.0
   Compiling futures-channel v0.3.1
   Compiling textwrap v0.11.0
   Compiling async-task v1.0.0
   Compiling backtrace-sys v0.1.32
   Compiling rustc_version v0.2.3
   Compiling regex v1.3.1
   Compiling kv-log-macro v1.0.4
   Compiling memoffset v0.5.3
   Compiling quote v1.0.2
   Compiling net2 v0.2.33
   Compiling iovec v0.1.4
   Compiling num_cpus v1.11.1
   Compiling termios v0.3.1
   Compiling clicolors-control v1.0.1
   Compiling atty v0.2.13
   Compiling time v0.1.42
   Compiling mnt v0.3.1
   Compiling base64 v0.10.1
   Compiling crossbeam-channel v0.4.0
   Compiling mio v0.6.21
   Compiling console v0.9.1
   Compiling clap v2.33.0
   Compiling pbr v1.0.2
   Compiling mio-uds v0.6.7
   Compiling backtrace v0.3.40
   Compiling better-panic v0.2.0
   Compiling crossbeam-deque v0.7.2
   Compiling async-std v1.4.0
   Compiling proc-macro-hack v0.5.11
   Compiling thiserror-impl v1.0.20
   Compiling pin-project-internal v0.4.6
   Compiling serde_derive v1.0.104
   Compiling derive-new v0.5.8
   Compiling futures-macro v0.3.1
   Compiling thiserror v1.0.20
   Compiling futures-util v0.3.1
   Compiling pin-project v0.4.6
   Compiling futures-executor v0.3.1
   Compiling futures v0.3.1
   Compiling futures_codec v0.3.4
   Compiling srmw v0.1.1
   Compiling usb-disk-probe v0.1.0
   Compiling ron v0.5.1
   Compiling popsicle v1.3.0 (/var/tmp/pamac-build-scott/popsicle/src/popsicle-1.3.0)
   Compiling popsicle_cli v1.3.0 (/var/tmp/pamac-build-scott/popsicle/src/popsicle-1.3.0/cli)
    Finished release [optimized] target(s) in 53.06s
help2man --no-info target/release/popsicle | gzip -c > target/release/popsicle.1.gz.partial
mv target/release/popsicle.1.gz.partial target/release/popsicle.1.gz
cargo build --manifest-path gtk/Cargo.toml --release
   Compiling syn v1.0.11
   Compiling pkg-config v0.3.17
   Compiling unicode-segmentation v1.6.0
   Compiling strum v0.18.0
   Compiling version-compare v0.0.10
   Compiling version_check v0.9.2
   Compiling futures-task v0.3.1
   Compiling either v1.5.3
   Compiling typenum v1.11.2
   Compiling gio v0.9.0
   Compiling ryu v1.0.5
   Compiling gdk-pixbuf v0.9.0
   Compiling lexical-core v0.7.4
   Compiling byte-tools v0.3.1
   Compiling cairo-rs v0.9.1
   Compiling pango v0.9.0
   Compiling failure_derive v0.1.6
   Compiling atk v0.9.0
   Compiling gdk v0.13.0
   Compiling static_assertions v1.1.0
   Compiling arrayvec v0.5.1
   Compiling opaque-debug v0.2.3
   Compiling smallvec v1.0.0
   Compiling fake-simd v0.1.2
   Compiling hex-view v0.1.3
   Compiling bytesize v1.0.1
   Compiling atomic v0.4.5
   Compiling serde v1.0.104
   Compiling futures-channel v0.3.1
   Compiling anyhow v1.0.25
   Compiling lock_api v0.3.2
   Compiling itertools v0.9.0
   Compiling heck v0.3.1
   Compiling block-padding v0.1.5
   Compiling proc-macro-error-attr v1.0.3
   Compiling proc-macro-error v1.0.3
   Compiling nom v5.1.2
   Compiling libdbus-sys v0.2.1
   Compiling gtk v0.9.1
   Compiling errno v0.2.4
   Compiling parking_lot_core v0.7.0
   Compiling loopdev v0.2.1
   Compiling parking_lot v0.10.0
   Compiling sys-mount v1.2.1
   Compiling dbus v0.9.0
   Compiling generic-array v0.12.3
   Compiling digest v0.8.1
   Compiling block-buffer v0.7.3
   Compiling md-5 v0.8.0
   Compiling sha2 v0.8.0
error[E0308]: mismatched types
  --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24
   |
62 |     let bytes = bits / Limb::BITS;
   |                        ^^^^^^^^^^ expected `usize`, found `u32`

error[E0277]: cannot divide `usize` by `u32`
  --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22
   |
62 |     let bytes = bits / Limb::BITS;
   |                      ^ no implementation for `usize / u32`
   |
   = help: the trait `Div<u32>` is not implemented for `usize`

error[E0308]: mismatched types
   --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:55
    |
157 |     let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);
    |                                                       ^^^^^^^^^^^^^^^ expected `usize`, found `u32`

error[E0277]: no implementation for `usize & u32`
   --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:53
    |
157 |     let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);
    |                                                     ^ no implementation for `usize & u32`
    |
    = help: the trait `BitAnd<u32>` is not implemented for `usize`

error[E0308]: mismatched types
   --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:40
    |
175 |         let (q, r) = shift.ceil_divmod(Limb::BITS);
    |                                        ^^^^^^^^^^ expected `usize`, found `u32`
    |
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
    |
175 |         let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap());
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1043:42
     |
1043 |     let mut count = index.saturating_mul(Limb::BITS);
     |                                          ^^^^^^^^^^ expected `usize`, found `u32`
     |
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
     |
1043 |     let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap());
     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:28
     |
1058 |     Limb::BITS.checked_mul(x.len())
     |                            ^^^^^^^ expected `u32`, found `usize`
     |
help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
     |
1058 |     Limb::BITS.checked_mul(x.len().try_into().unwrap())
     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:22
     |
1059 |         .map(|v| v - nlz)
     |                      ^^^ expected `u32`, found `usize`

error[E0277]: cannot subtract `usize` from `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:20
     |
1059 |         .map(|v| v - nlz)
     |                    ^ no implementation for `u32 - usize`
     |
     = help: the trait `Sub<usize>` is not implemented for `u32`

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1060:20
     |
1060 |         .unwrap_or(usize::max_value())
     |                    ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize`
     |
help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
     |
1060 |         .unwrap_or(usize::max_value().try_into().unwrap())
     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5
     |
1054 |   pub fn bit_length(x: &[Limb]) -> usize {
     |                                    ----- expected `usize` because of return type
...
1058 | /     Limb::BITS.checked_mul(x.len())
1059 | |         .map(|v| v - nlz)
1060 | |         .unwrap_or(usize::max_value())
     | |______________________________________^ expected `usize`, found `u32`
     |
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
     |
1058 |     Limb::BITS.checked_mul(x.len())
1059 |         .map(|v| v - nlz)
1060 |         .unwrap_or(usize::max_value()).try_into().unwrap()
     |

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1085:23
     |
1085 |     debug_assert!(n < bits && n != 0);
     |                       ^^^^ expected `usize`, found `u32`
     |
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
     |
1085 |     debug_assert!(n < bits.try_into().unwrap() && n != 0);
     |                       ^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:25
     |
1092 |     let lshift = bits - n;
     |                         ^ expected `u32`, found `usize`

error[E0277]: cannot subtract `usize` from `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:23
     |
1092 |     let lshift = bits - n;
     |                       ^ no implementation for `u32 - usize`
     |
     = help: the trait `Sub<usize>` is not implemented for `u32`

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:19
     |
1134 |     let rem = n % bits;
     |                   ^^^^ expected `usize`, found `u32`

error[E0277]: cannot mod `usize` by `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:17
     |
1134 |     let rem = n % bits;
     |                 ^ no implementation for `usize % u32`
     |
     = help: the trait `Rem<u32>` is not implemented for `usize`

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:19
     |
1135 |     let div = n / bits;
     |                   ^^^^ expected `usize`, found `u32`

error[E0277]: cannot divide `usize` by `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:17
     |
1135 |     let div = n / bits;
     |                 ^ no implementation for `usize / u32`
     |
     = help: the trait `Div<u32>` is not implemented for `usize`

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1191:23
     |
1191 |     debug_assert!(n < bits);
     |                       ^^^^ expected `usize`, found `u32`
     |
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
     |
1191 |     debug_assert!(n < bits.try_into().unwrap());
     |                       ^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:25
     |
1201 |     let rshift = bits - n;
     |                         ^ expected `u32`, found `usize`

error[E0277]: cannot subtract `usize` from `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:23
     |
1201 |     let rshift = bits - n;
     |                       ^ no implementation for `u32 - usize`
     |
     = help: the trait `Sub<usize>` is not implemented for `u32`

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:19
     |
1253 |     let rem = n % bits;
     |                   ^^^^ expected `usize`, found `u32`

error[E0277]: cannot mod `usize` by `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:17
     |
1253 |     let rem = n % bits;
     |                 ^ no implementation for `usize % u32`
     |
     = help: the trait `Rem<u32>` is not implemented for `usize`

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:19
     |
1254 |     let div = n / bits;
     |                   ^^^^ expected `usize`, found `u32`

error[E0277]: cannot divide `usize` by `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:17
     |
1254 |     let div = n / bits;
     |                 ^ no implementation for `usize / u32`
     |
     = help: the trait `Div<u32>` is not implemented for `usize`

error[E0308]: mismatched types
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:27
     |
2065 |     let rs = Limb::BITS - s;
     |                           ^ expected `u32`, found `usize`

error[E0277]: cannot subtract `usize` from `u32`
    --> /home/scott/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:25
     |
2065 |     let rs = Limb::BITS - s;
     |                         ^ no implementation for `u32 - usize`
     |
     = help: the trait `Sub<usize>` is not implemented for `u32`

error: aborting due to 27 previous errors

Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `lexical-core`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [Makefile:107: target/release/popsicle-gtk] Error 101
==> ERROR: A failure occurred in build().
    Aborting...