Skip to content

[BUG]: Backend build fails — test_server.go has unused variables (go build ./... errors) #569

Description

@RounakKumarAgarwal

Bug Description

go build ./... fails on main due to unused variables in backend/test_server.go:

.\test_server.go:38:9: declared and not used: user
.\test_server.go:47:9: declared and not used: user

test_server.go appears to be a stray test/scratch file at the backend root (package arguehub) that shouldn't be committed — it breaks a clean backend build and blocks CI / anyone building from scratch.

This is distinct from #547, which is about frontend TypeScript build errors; this is the backend Go build.

Steps to Reproduce

  1. From the repo root: cd backend
  2. Run go build ./...
  3. Observe the compile errors from test_server.go (unused variable user at lines 38 and 47).

Logs and Screenshots

$ cd backend && go build ./...

arguehub

.\test_server.go:38:9: declared and not used: user
.\test_server.go:47:9: declared and not used: user

Environment Details

Impact

Medium - Feature works but has issues

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions