{"record":{"id":"6571f459eea0b877","repo":"wasmerio/wasmer","slug":"deprecated-deploy-behaviour","errorCode":null,"errorMessage":"deprecated deploy behaviour","messagePattern":"deprecated deploy behaviour","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/cli/src/commands/app/deploy.rs","lineNumber":831,"sourceCode":"                                if !self.quiet {\n                                    eprintln!(\n                                        \"Found local package (manifest path: {}).\",\n                                        manifest_path.display()\n                                    );\n                                    eprintln!(\n                                        \"The `package` field in `app.yaml` specified the same named package ({name}).\"\n                                    );\n                                    eprintln!(\"This behaviour is deprecated.\");\n                                }\n\n                                let theme = dialoguer::theme::ColorfulTheme::default();\n                                if self.non_interactive {\n                                    if !self.quiet {\n                                        eprintln!(\n                                            \"Hint: replace `package: {n}` with `package: .` to replicate the intended behaviour.\"\n                                        );\n                                    }\n                                    anyhow::bail!(\"deprecated deploy behaviour\")\n                                } else if Confirm::with_theme(&theme)\n                                    .with_prompt(\"Change package to '.' in app.yaml?\")\n                                    .interact()?\n                                {\n                                    app_config.package = PackageSource::Path(String::from(\".\"));\n                                    // We have to write it right now.\n                                    let new_config_raw =\n                                        crate::utils::yaml::apply_app_config_to_yaml(\n                                            &config_str,\n                                            &app_config.clone().to_yaml_value()?,\n                                        )?;\n                                    std::fs::write(&app_config_path, new_config_raw).with_context(\n                                        || {\n                                            format!(\n                                                \"Could not write file: '{}'\",\n                                                app_config_path.display()\n                                            )\n                                        },","sourceCodeStart":813,"sourceCodeEnd":849,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/cli/src/commands/app/deploy.rs#L813-L849","documentation":"Error \"deprecated deploy behaviour\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/cli/src/commands/app/deploy.rs:831 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5","analyzedAt":"2026-09-01T23:06:31.009Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}