83 lines
4.0 KiB
Plaintext
83 lines
4.0 KiB
Plaintext
## cargo build --workspace
|
|
$ cd /home/connor/docs/projects/news && cargo build --workspace
|
|
info: syncing channel updates for 1.89.0-x86_64-unknown-linux-gnu
|
|
info: latest update on 2025-08-07 for version 1.89.0 (29483883e 2025-08-04)
|
|
info: downloading 7 components
|
|
Updating crates.io index
|
|
Locking 9 packages to latest Rust 1.89.0 compatible versions
|
|
Compiling proc-macro2 v1.0.107
|
|
Compiling quote v1.0.47
|
|
Compiling unicode-ident v1.0.24
|
|
Compiling serde_core v1.0.229
|
|
Compiling serde v1.0.229
|
|
Compiling thiserror v2.0.20
|
|
Compiling syn v3.0.4
|
|
Compiling serde_derive v1.0.229
|
|
Compiling thiserror-impl v2.0.20
|
|
Compiling news-core v0.1.0 (/home/connor/docs/projects/news/crates/news-core)
|
|
Compiling news-ingest v0.1.0 (/home/connor/docs/projects/news/crates/news-ingest)
|
|
Compiling news-store v0.1.0 (/home/connor/docs/projects/news/crates/news-store)
|
|
Compiling news-server v0.1.0 (/home/connor/docs/projects/news/crates/news-server)
|
|
Compiling news-web v0.1.0 (/home/connor/docs/projects/news/crates/news-web)
|
|
Compiling news-cli v0.1.0 (/home/connor/docs/projects/news/crates/news-cli)
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.29s
|
|
EXIT: 0
|
|
|
|
## cargo fmt --all --check
|
|
$ cargo fmt --all --check
|
|
(no output)
|
|
EXIT: 0
|
|
|
|
## cargo clippy --workspace --all-targets -- -D warnings
|
|
$ cargo clippy --workspace --all-targets -- -D warnings
|
|
Checking serde_core v1.0.229
|
|
Checking thiserror v2.0.20
|
|
Checking serde v1.0.229
|
|
Checking news-core v0.1.0 (/home/connor/docs/projects/news/crates/news-core)
|
|
Checking news-store v0.1.0 (/home/connor/docs/projects/news/crates/news-store)
|
|
Checking news-server v0.1.0 (/home/connor/docs/projects/news/crates/news-server)
|
|
Checking news-cli v0.1.0 (/home/connor/docs/projects/news/crates/news-cli)
|
|
Checking news-web v0.1.0 (/home/connor/docs/projects/news/crates/news-web)
|
|
Checking news-ingest v0.1.0 (/home/connor/docs/projects/news/crates/news-ingest)
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.02s
|
|
EXIT: 0
|
|
|
|
## cargo check -p news-web --target wasm32-unknown-unknown (extra: matches CI's "check" job step)
|
|
$ cargo check -p news-web --target wasm32-unknown-unknown
|
|
Checking news-core v0.1.0 (/home/connor/docs/projects/news/crates/news-core)
|
|
Checking news-web v0.1.0 (/home/connor/docs/projects/news/crates/news-web)
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.75s
|
|
EXIT: 0
|
|
|
|
## cargo metadata --format-version=1 | jq '.workspace_members'
|
|
$ cargo metadata --format-version=1 | jq '.workspace_members'
|
|
[
|
|
"path+file:///home/connor/docs/projects/news/crates/news-core#0.1.0",
|
|
"path+file:///home/connor/docs/projects/news/crates/news-ingest#0.1.0",
|
|
"path+file:///home/connor/docs/projects/news/crates/news-store#0.1.0",
|
|
"path+file:///home/connor/docs/projects/news/crates/news-server#0.1.0",
|
|
"path+file:///home/connor/docs/projects/news/crates/news-web#0.1.0",
|
|
"path+file:///home/connor/docs/projects/news/crates/news-cli#0.1.0"
|
|
]
|
|
Exactly 6 crate ids -- matches acceptance criterion.
|
|
|
|
## cargo machete (guardrails job, informational -- expected to flag at scaffold stage)
|
|
$ cargo machete
|
|
cargo-machete found the following unused dependencies in this directory:
|
|
news-core, news-ingest, news-store, news-server, news-cli, news-web all show
|
|
serde/thiserror/news-core as currently unused.
|
|
EXIT: 1
|
|
This is EXPECTED at this stage: the workspace-level deps (serde, thiserror)
|
|
were added per this todo's scope ("skeleton needs: serde, thiserror") but no
|
|
crate has real code using them yet -- that starts in todo 2 (news-core domain
|
|
types use serde derive). Once todo 2+ lands, these deps become used and
|
|
`cargo machete` will pass. Not a defect in the scaffold itself.
|
|
|
|
## cargo deny check (guardrails job)
|
|
$ cargo deny check
|
|
warning[license-not-encountered]: license was not encountered (Apache-2.0 WITH
|
|
LLVM-exception, BSD-2-Clause, BSD-3-Clause, ISC, Zlib -- none of these
|
|
licenses appear yet since the dependency tree is just serde+thiserror)
|
|
advisories ok, bans ok, licenses ok, sources ok
|
|
EXIT: 0
|