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

build(deps): bump mlua from 0.9.9 to 0.10.2 #793

Closed
wants to merge 1 commit into from

build(deps): bump mlua from 0.9.9 to 0.10.2

126aa9c
Select commit
Loading
Failed to load commit list.
Closed

build(deps): bump mlua from 0.9.9 to 0.10.2 #793

build(deps): bump mlua from 0.9.9 to 0.10.2
126aa9c
Select commit
Loading
Failed to load commit list.
Garnix CI / package ironbar [x86_64-linux] failed Dec 2, 2024 in 3m 14s

Run results

Build failed

Details

Last 100 lines of logs:

_addToLuaPath called for dir /nix/store/axn0m8jyp0p91b9a4a8dmqvlcyw9c4d6-libpulseaudio-17.0-dev
/nix/store/axn0m8jyp0p91b9a4a8dmqvlcyw9c4d6-libpulseaudio-17.0-dev already parsed
_addToLuaPath called for dir /nix/store/jdnih5ipd43fj2a5cwmil0h6i2gisx99-libcap-2.70-dev
/nix/store/jdnih5ipd43fj2a5cwmil0h6i2gisx99-libcap-2.70-dev already parsed
_addToLuaPath called for dir /nix/store/8mkvs25d559b2fya1z0bkz79kpmc9sl6-libcap-2.70-lib
/nix/store/8mkvs25d559b2fya1z0bkz79kpmc9sl6-libcap-2.70-lib already parsed
_addToLuaPath called for dir /nix/store/gsa2zzz4w3dm2diph57mxj1rds2zbqij-libcap-2.70
/nix/store/gsa2zzz4w3dm2diph57mxj1rds2zbqij-libcap-2.70 already parsed
_addToLuaPath called for dir /nix/store/q8y8kgidr4mg0q7zr2h1ddpd7ijy3wna-libpulseaudio-17.0
/nix/store/q8y8kgidr4mg0q7zr2h1ddpd7ijy3wna-libpulseaudio-17.0 already parsed
_addToLuaPath called for dir /nix/store/cwk3yma5asycrvlmvzr4p3dwnrnjy57g-luajit-2.1.1713773202
/nix/store/cwk3yma5asycrvlmvzr4p3dwnrnjy57g-luajit-2.1.1713773202 already parsed
Running phase: unpackPhase
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking source archive /nix/store/kg5p0z5psxhsa48bf0gd7g0kyh43s742-ironbar
source root is ironbar
Running phase: patchPhase
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix {"action":"setPhase","phase":"updateAutotoolsGnuConfigScriptsPhase"}
Running phase: configurePhase
@nix {"action":"setPhase","phase":"configurePhase"}
[naersk] cargo_version (read): 1.83.0 (5ffbef321 2024-10-29)
[naersk] cargo_message_format (set): json-diagnostic-rendered-ansi
[naersk] cargo_release: --release
[naersk] cargo_options: 
[naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format  
[naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES"
[naersk] RUST_TEST_THREADS: 28
[naersk] cargo_bins_jq_filter: select(.reason == "compiler-artifact" and .executable != null and .profile.test == false)
[naersk] cargo_build_output_json (created): /build/tmp.ogkQrSL6D4
[naersk] RUSTFLAGS: 
[naersk] CARGO_BUILD_RUSTFLAGS: 
[naersk] CARGO_BUILD_RUSTFLAGS (updated):  --remap-path-prefix /nix/store/194sn5ywcs080vjb24lxjnzglhlhaaf1-crates-io-dependencies=/sources --remap-path-prefix /nix/store/60s16s4138d4q0shg766nb2hzrqymd6i-git-dependencies=/sources
[naersk] pre-installing dep /nix/store/l2c6klm1db3qx6zcdsdzaq1kf4q38zxy-ironbar-deps-0.16.1+date=2024-12-02_126aa9c
Running phase: buildPhase
@nix {"action":"setPhase","phase":"buildPhase"}
cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
   Compiling ironbar v0.16.1 (/build/ironbar)
error: could not compile `ironbar` (bin "ironbar") due to 4 previous errors
error[E0277]: `(dyn StdError + 'static)` cannot be shared between threads safely
   --> src/modules/cairo.rs:141:33
    |
141 |         lua.load(&script).exec()?;
    |                                 ^ `(dyn StdError + 'static)` cannot be shared between threads safely
    |
    = help: the trait `std::marker::Sync` is not implemented for `(dyn StdError + 'static)`, which is required by `Result<ModuleParts<gtk::Box>, ErrReport>: FromResidual<Result<Infallible, LuaError>>`
    = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
    = note: required for `Arc<(dyn StdError + 'static)>` to implement `std::marker::Send`
note: required because it appears within the type `LuaError`
   --> /sources/mlua-0.10.2-9ea43c3ffac2d0798bd7128815212dd78c98316b299b7a902dabef13dc7b6b8d/src/error.rs:21:10
    = note: required for `ErrReport` to implement `std::convert::From<LuaError>`
    = note: required for `Result<ModuleParts<gtk::Box>, ErrReport>` to implement `FromResidual<Result<Infallible, LuaError>>`


error[E0277]: `(dyn StdError + 'static)` cannot be sent between threads safely
   --> src/modules/cairo.rs:141:33
    |
141 |         lua.load(&script).exec()?;
    |                                 ^ `(dyn StdError + 'static)` cannot be sent between threads safely
    |
    = help: the trait `std::marker::Send` is not implemented for `(dyn StdError + 'static)`, which is required by `Result<ModuleParts<gtk::Box>, ErrReport>: FromResidual<Result<Infallible, LuaError>>`
    = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
    = note: required for `Arc<(dyn StdError + 'static)>` to implement `std::marker::Send`
note: required because it appears within the type `LuaError`
   --> /sources/mlua-0.10.2-9ea43c3ffac2d0798bd7128815212dd78c98316b299b7a902dabef13dc7b6b8d/src/error.rs:21:10
    = note: required for `ErrReport` to implement `std::convert::From<LuaError>`
    = note: required for `Result<ModuleParts<gtk::Box>, ErrReport>` to implement `FromResidual<Result<Infallible, LuaError>>`


error[E0107]: method takes 1 generic argument but 2 generic arguments were supplied
   --> src/modules/cairo.rs:164:30
    |
164 |                     function.call::<_, Option<bool>>((id.as_str(), LightUserData(ptr)))
    |                              ^^^^    -------------- help: remove the unnecessary generic argument
    |                              |
    |                              expected 1 generic argument
    |
    = note: `impl Trait` cannot be explicitly specified as a generic argument


error[E0308]: mismatched types
   --> src/modules/cairo.rs:164:54
    |
164 |                     function.call::<_, Option<bool>>((id.as_str(), LightUserData(ptr)))
    |                              ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<bool>`, found `(&str, LightUserData)`
    |                              |
    |                              arguments to this method are incorrect
    |
    = note: expected enum `std::option::Option<bool>`
              found tuple `(&str, LuaLightUserData)`
note: method defined here
   --> /sources/mlua-0.10.2-9ea43c3ffac2d0798bd7128815212dd78c98316b299b7a902dabef13dc7b6b8d/src/function.rs:104:12


Some errors have detailed explanations: E0107, E0277, E0308.

For more information about an error, try `rustc --explain E0107`.

[naersk] cargo returned with exit code 101, exiting