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

More relative path handling problems for @use on Windows #143

Closed
fasterthanlime opened this issue May 22, 2022 · 7 comments · Fixed by #144
Closed

More relative path handling problems for @use on Windows #143

fasterthanlime opened this issue May 22, 2022 · 7 comments · Fixed by #144

Comments

@fasterthanlime
Copy link

Sorry it took me so long to get back to this! I've just had a chance to try the new 0.25.0 and also change my SCSS from @import to @use, and I'm still getting errors:

$ futile serve
(cut)
2022-05-22T17:31:04.327481Z  INFO futile_content::index: Revision has 2640 items
2022-05-22T17:31:04.332206Z  INFO futile_content::stylesheets: Compiling SCSS at \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\style.scss
2022-05-22T17:31:04.332442Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\style.scss
2022-05-22T17:31:04.332589Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_add_to_calendar.scss   
2022-05-22T17:31:04.332774Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_css_functions.scss     
2022-05-22T17:31:04.332919Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_fonts.scss
2022-05-22T17:31:04.333061Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_gate.scss
2022-05-22T17:31:04.333287Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_highlight.scss
2022-05-22T17:31:04.333413Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_nav.scss
2022-05-22T17:31:04.333555Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_page.scss
2022-05-22T17:31:04.333696Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_post_list.scss
2022-05-22T17:31:04.333826Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_reset.scss
2022-05-22T17:31:04.333960Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3PD533NS3RM5CR2J87NVX69\sass\_vars.scss
2022-05-22T17:31:04.438860Z ERROR futile: Fatal error:
2022-05-22T17:31:04.439024Z ERROR futile: 1. rsass error: Error: Can't find stylesheet to import.
  ,
1 | @use "css_functions";
  | ^^^^^^^^^^^^^^^^^^^^
  '
  style.scss 1:1  root stylesheet
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                              ⋮ 11 frames hidden ⋮
12: futile_content::stylesheets::compile_stylesheets::closure$0
    at C:\Users\amos\bearcove\futile\crates\futile-content\src\stylesheets.rs:59

Here's the code that calls into rsass, nothing fancy:

    let path = sass_tmp_dir.join("sass").join("style.scss");

    info!("Compiling SCSS at {}", path);
    for entry in path.parent().unwrap().read_dir()? {
        let entry = entry?;
        info!("  - {}", entry.path().display());
    }

    let out = rsass::compile_scss_path(path.as_std_path(), Default::default())
        .map_err(|e| eyre!("rsass error: {e}"))?;
    let out = std::str::from_utf8(&out)
        .map_err(|e| eyre!("rsass non-utf8 error: {e}"))?
        .to_string();
@kaj
Copy link
Owner

kaj commented May 22, 2022

Thanks for getting back about this!

Hm. That does indeed look like it should find _css_functions.scss but still doesn't. I have added some debug and trace level tracing to the file finding part of rsass, could you run again with rsass:debug enabled in tracing?

@fasterthanlime
Copy link
Author

fasterthanlime commented May 25, 2022

Hi again!

I had to set RUST_LOG to rsass=trace, here's the complete log:

futile serve
2022-05-25T14:27:39.074204Z  INFO futile_content: Building revision "01G3XSVDY20FHEFE2W25EQNMM6"
2022-05-25T14:27:40.112700Z  INFO futile_content::index: Revision has 2639 items
2022-05-25T14:27:40.118454Z  INFO futile_content::stylesheets: Compiling SCSS at \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\style.scss
2022-05-25T14:27:40.118567Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\style.scss
2022-05-25T14:27:40.118620Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_add_to_calendar.scss
2022-05-25T14:27:40.118664Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_fonts.scss
2022-05-25T14:27:40.118706Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_gate.scss
2022-05-25T14:27:40.118753Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_highlight.scss
2022-05-25T14:27:40.118813Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_nav.scss
2022-05-25T14:27:40.118868Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_page.scss
2022-05-25T14:27:40.118926Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_post_list.scss
2022-05-25T14:27:40.118974Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_reset.scss
2022-05-25T14:27:40.119016Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\sass\_vars.scss
2022-05-25T14:27:40.120686Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass/reset"
2022-05-25T14:27:40.120798Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="reset"
2022-05-25T14:27:40.120884Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass/reset.scss"
2022-05-25T14:27:40.120971Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="reset.scss"
2022-05-25T14:27:40.121068Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass/_reset.scss"
2022-05-25T14:27:40.121595Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="_reset.scss"
2022-05-25T14:27:40.121704Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass/reset/index.scss"
2022-05-25T14:27:40.121805Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="reset/index.scss"
2022-05-25T14:27:40.121908Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass/reset/_index.scss"
2022-05-25T14:27:40.122040Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="reset/_index.scss"
2022-05-25T14:27:40.122144Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass/reset.css"
2022-05-25T14:27:40.122248Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="reset.css"
2022-05-25T14:27:40.122330Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass/_reset.css"
2022-05-25T14:27:40.122415Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G3XSVDY20FHEFE2W25EQNMM6\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="_reset.css"

@fasterthanlime
Copy link
Author

It looks like building on paths with / works for some style of paths:

image

But not the UNC style:

image

I forget what both styles are actually called, but point is, if you have a \\?\ path, you really do have to use backslashes (and I think PathBuf / Utf8PathBuf should handle that correctly).

@kaj
Copy link
Owner

kaj commented May 25, 2022

Hm. Still not sure what happens, but the base seems correct, and looking again at the relevant code today, it seems some of the appending could be done by path.join operations (and some fiddling back to strings after accessing the actual file). Will make an attempt, but I'm going to travel early tomorrow (swedish time, so in about twelve hours), so I'm not sure when I'll have some more patches to try.

@kaj
Copy link
Owner

kaj commented May 26, 2022

Does PR #144 seem to improve things?

@fasterthanlime
Copy link
Author

Does PR #144 seem to improve things?

It does!

$ futile serve
2022-05-26T17:04:03.012698Z  INFO futile_db::migrations: Applying migration "0001_create_content_tables"
2022-05-26T17:04:03.013428Z  INFO futile_db::migrations: Applying migration "0002_add_toc"
2022-05-26T17:04:03.018921Z  WARN futile: sqlite: [5] statement aborts at 1: [PRAGMA journal_mode='WAL'] database is locked
2022-05-26T17:04:03.019113Z ERROR r2d2: database is locked
2022-05-26T17:04:03.421515Z  INFO futile_db::migrations: Applying migration "m0001_initial"
2022-05-26T17:04:03.421740Z  WARN futile: sqlite: [17] statement aborts at 8: [
        INSERT INTO migrations
        (tag, migrated_at) VALUES
        (:tag, :migrated_at)
        ] database schema has changed
2022-05-26T17:04:03.422183Z  INFO futile_db::migrations: Applying migration "m0002_theme"
2022-05-26T17:04:03.422409Z  INFO futile_db::migrations: Applying migration "m0003_patreon_credentials"
2022-05-26T17:04:03.422613Z  WARN futile: sqlite: [17] statement aborts at 8: [
        INSERT INTO migrations
        (tag, migrated_at) VALUES
        (:tag, :migrated_at)
        ] database schema has changed
2022-05-26T17:04:03.429461Z  INFO futile_content: Building revision "01G40N6HB52V4X5B2PVG77V816"
2022-05-26T17:04:04.569916Z  INFO futile_content::index: Revision has 2639 items
2022-05-26T17:04:04.574178Z  INFO futile_content::stylesheets: Compiling SCSS at \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\style.scss
2022-05-26T17:04:04.574337Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\style.scss
2022-05-26T17:04:04.574464Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_add_to_calendar.scss
2022-05-26T17:04:04.574620Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_fonts.scss
2022-05-26T17:04:04.574739Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_gate.scss
2022-05-26T17:04:04.574936Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_highlight.scss
2022-05-26T17:04:04.575085Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_nav.scss
2022-05-26T17:04:04.575215Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_page.scss
2022-05-26T17:04:04.575369Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_post_list.scss
2022-05-26T17:04:04.575498Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_reset.scss
2022-05-26T17:04:04.575622Z  INFO futile_content::stylesheets:   - \\?\C:\Users\amos\bearcove\fasterthanli.me\.futile\cache\tmp-sass-01G40N6HB52V4X5B2PVG77V816\sass\_vars.scss
2022-05-26T17:04:04.577450Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\reset"
2022-05-26T17:04:04.577716Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="reset"
2022-05-26T17:04:04.578059Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\reset.scss"
2022-05-26T17:04:04.578295Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: Not found full="reset.scss"
2022-05-26T17:04:04.578555Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="reset" from={"[@use \"reset\"];", style.scss:1 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_reset.scss"
2022-05-26T17:04:04.579233Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", style.scss:2 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts"
2022-05-26T17:04:04.579458Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", style.scss:2 root stylesheet}}: rsass::file_context: Not found full="fonts"
2022-05-26T17:04:04.579667Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", style.scss:2 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts.scss"
2022-05-26T17:04:04.579949Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", style.scss:2 root stylesheet}}: rsass::file_context: Not found full="fonts.scss"
2022-05-26T17:04:04.580216Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", style.scss:2 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_fonts.scss"
2022-05-26T17:04:04.581121Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", style.scss:3 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\vars"
2022-05-26T17:04:04.581341Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", style.scss:3 root stylesheet}}: rsass::file_context: Not found full="vars"
2022-05-26T17:04:04.581511Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", style.scss:3 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\vars.scss"
2022-05-26T17:04:04.581783Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", style.scss:3 root stylesheet}}: rsass::file_context: Not found full="vars.scss"
2022-05-26T17:04:04.582047Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", style.scss:3 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_vars.scss"
2022-05-26T17:04:04.583713Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _vars.scss:1 @use style.scss:3 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts"
2022-05-26T17:04:04.583954Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _vars.scss:1 @use style.scss:3 root stylesheet}}: rsass::file_context: Not found full="fonts"
2022-05-26T17:04:04.584186Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _vars.scss:1 @use style.scss:3 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts.scss"
2022-05-26T17:04:04.584546Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _vars.scss:1 @use style.scss:3 root stylesheet}}: rsass::file_context: Not found full="fonts.scss"
2022-05-26T17:04:04.584965Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _vars.scss:1 @use style.scss:3 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_fonts.scss"
2022-05-26T17:04:04.585569Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="post_list" from={"[@use \"post_list\"];", style.scss:4 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\post_list"
2022-05-26T17:04:04.585878Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="post_list" from={"[@use \"post_list\"];", style.scss:4 root stylesheet}}: rsass::file_context: Not found full="post_list"
2022-05-26T17:04:04.586181Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="post_list" from={"[@use \"post_list\"];", style.scss:4 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\post_list.scss"
2022-05-26T17:04:04.586482Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="post_list" from={"[@use \"post_list\"];", style.scss:4 root stylesheet}}: rsass::file_context: Not found full="post_list.scss"
2022-05-26T17:04:04.586824Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="post_list" from={"[@use \"post_list\"];", style.scss:4 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_post_list.scss"
2022-05-26T17:04:04.588204Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _post_list.scss:1 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\vars"
2022-05-26T17:04:04.588470Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _post_list.scss:1 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="vars"
2022-05-26T17:04:04.588772Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _post_list.scss:1 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\vars.scss"
2022-05-26T17:04:04.589102Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _post_list.scss:1 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="vars.scss"
2022-05-26T17:04:04.589422Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _post_list.scss:1 @use style.scss:4 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_vars.scss"
2022-05-26T17:04:04.589773Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _post_list.scss:2 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts"
2022-05-26T17:04:04.590181Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _post_list.scss:2 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="fonts"
2022-05-26T17:04:04.590546Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _post_list.scss:2 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts.scss"
2022-05-26T17:04:04.590895Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _post_list.scss:2 @use style.scss:4 root stylesheet}}: rsass::file_context: Not found full="fonts.scss"
2022-05-26T17:04:04.591171Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _post_list.scss:2 @use style.scss:4 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_fonts.scss"
2022-05-26T17:04:04.592158Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="page" from={"[@use \"page\"];", style.scss:5 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\page"
2022-05-26T17:04:04.592621Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="page" from={"[@use \"page\"];", style.scss:5 root stylesheet}}: rsass::file_context: Not found full="page"
2022-05-26T17:04:04.592887Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="page" from={"[@use \"page\"];", style.scss:5 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\page.scss"
2022-05-26T17:04:04.593154Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="page" from={"[@use \"page\"];", style.scss:5 root stylesheet}}: rsass::file_context: Not found full="page.scss"
2022-05-26T17:04:04.593437Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="page" from={"[@use \"page\"];", style.scss:5 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_page.scss"
2022-05-26T17:04:04.597101Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _page.scss:1 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\vars"
2022-05-26T17:04:04.597412Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _page.scss:1 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="vars"
2022-05-26T17:04:04.597725Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _page.scss:1 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\vars.scss"
2022-05-26T17:04:04.598028Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _page.scss:1 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="vars.scss"
2022-05-26T17:04:04.598374Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="vars" from={"[@use \"vars\"];", _page.scss:1 @use style.scss:5 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_vars.scss"
2022-05-26T17:04:04.598776Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _page.scss:2 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts"
2022-05-26T17:04:04.599069Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _page.scss:2 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="fonts"
2022-05-26T17:04:04.599328Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _page.scss:2 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\fonts.scss"
2022-05-26T17:04:04.599605Z TRACE find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _page.scss:2 @use style.scss:5 root stylesheet}}: rsass::file_context: Not found full="fonts.scss"
2022-05-26T17:04:04.599886Z DEBUG find_file_use{self=FsFileContext { path: ["\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass", ""] } url="fonts" from={"[@use \"fonts\"];", _page.scss:2 @use style.scss:5 root stylesheet}}: rsass::file_context: opening file full="\\\\?\\C:\\Users\\amos\\bearcove\\fasterthanli.me\\.futile\\cache\\tmp-sass-01G40N6HB52V4X5B2PVG77V816\\sass\\_fonts.scss"
2022-05-26T17:04:04.705645Z ERROR futile: Fatal error:
2022-05-26T17:04:04.705801Z ERROR futile: 1. rsass error: Error: 760px is not a number.
   ,
14 |       max-width: calc(min(#{vars.$page-width}, 100%));
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   '
   _page.scss 14:23  @use
   style.scss 5:1    root stylesheet
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                              ⋮ 11 frames hidden ⋮
12: futile_content::stylesheets::compile_stylesheets::closure$0
    at C:\Users\amos\bearcove\futile\crates\futile-content\src\stylesheets.rs:59
13: core::result::Result::map_err<alloc::vec::Vec<u8,alloc::alloc::Global>,enum$<rsass::error::Error>,eyre::Report,futile_content::stylesheets::compile_stylesheets::closure_env$0>
    at /rustc/5f37001055c29982f4c27ee9edd90449c8e07774\library\core\src\result.rs:854
14: futile_content::stylesheets::compile_stylesheets
    at C:\Users\amos\bearcove\futile\crates\futile-content\src\stylesheets.rs:58
15: futile_content::make_revision
    at C:\Users\amos\bearcove\futile\crates\futile-content\src\lib.rs:132
16: futile::serve::serve::async_fn$0::closure$1
    at C:\Users\amos\bearcove\futile\crates\futile\src\serve\mod.rs:179
                               ⋮ 1 frame hidden ⋮
18: futile::serve::serve::async_fn$0
    at C:\Users\amos\bearcove\futile\crates\futile\src\serve\mod.rs:171
                              ⋮ 5 frames hidden ⋮
24: tokio::park::thread::impl$5::block_on::closure$0
    at C:\Users\amos\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-1.18.2\src\park\thread.rs:263
                              ⋮ 29 frames hidden ⋮

Now I'm running into another problem: rsass seems to want to evaluate the min() function invocation even though it's inside a calc(), specifically because I want to use CSS's min function, not SASS's.

@kaj
Copy link
Owner

kaj commented May 27, 2022

It does!

🎉 Great!

Now I'm running into another problem: rsass seems to want to evaluate the min() function invocation even though it's inside a calc(), specifically because I want to use CSS's min function, not SASS's.

Sass is supposed to select the css min(...) function automatically when needed, based on the arguments, and rsass does that correctly in a bunch of cases. But it does not yet realize that sometimes a string in the scss code will come out looking like a number in the css. In this case, I think removing the string interpolation will work (I think it should work with the interpolation as well, but that is a separate bug).

@kaj kaj closed this as completed in #144 May 27, 2022
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

Successfully merging a pull request may close this issue.

2 participants