{"record":{"id":"ea18bf1a2c7e3f2f","repo":"DioxusLabs/dioxus","slug":"warning","errorCode":null,"errorMessage":"Warning: {}\n    ./{}:{}:{}","messagePattern":"Warning: (.+?)\n    \\./(.+?):(.+?):(.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/cli/src/opt/css.rs","lineNumber":199,"sourceCode":"    Ok(())\n}\n\n/// Logger for Grass that re-uses their StdLogger formatting but with tracing.\n#[derive(Debug)]\nstruct ScssLogger {}\n\nimpl grass::Logger for ScssLogger {\n    fn debug(&self, location: SpanLoc, message: &str) {\n        tracing::debug!(\n            \"{}:{} DEBUG: {}\",\n            location.file.name(),\n            location.begin.line + 1,\n            message\n        );\n    }\n\n    fn warn(&self, location: SpanLoc, message: &str) {\n        tracing::warn!(\n            \"Warning: {}\\n    ./{}:{}:{}\",\n            message,\n            location.file.name(),\n            location.begin.line + 1,\n            location.begin.column + 1\n        );\n    }\n}\n\n/// Hash the inputs to the scss file\npub(crate) fn hash_scss(\n    scss_options: &CssAssetOptions,\n    source: &Path,\n    hasher: &mut impl Hasher,\n) -> anyhow::Result<()> {\n    // Grass doesn't expose the ast for us to traverse the imports in the file. Instead of parsing scss ourselves\n    // we just hash the expanded version of the file for now\n    let css = compile_scss(scss_options, source)?;","sourceCodeStart":181,"sourceCodeEnd":217,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/cli/src/opt/css.rs#L181-L217","documentation":"Not an error: the SCSS (grass) compiler logger forwarding a compile warning to tracing, formatted with the warning message, source file, and line/column of the offending Sass. The build continues; the named stylesheet should be fixed.","triggerScenarios":"Thrown at packages/cli/src/opt/css.rs:199 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the CSS at the file, line, and column shown in the warning; the CSS optimizer reported a problem at that location."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}