[INFO] cloning repository https://github.com/djboardman/gimbal_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djboardman/gimbal_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjboardman%2Fgimbal_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjboardman%2Fgimbal_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eddba944a9514373eb8e267da2786d349c41c5eb [INFO] testing djboardman/gimbal_server against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjboardman%2Fgimbal_server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/djboardman/gimbal_server [INFO] finished tweaking git repo https://github.com/djboardman/gimbal_server [INFO] tweaked toml for git repo https://github.com/djboardman/gimbal_server written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/djboardman/gimbal_server on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/djboardman/gimbal_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24aaa78e5ded015f59749cee2f44f11ba11e0593bdb53d5cf917cfc439f65d25 [INFO] running `Command { std: "docker" "start" "-a" "24aaa78e5ded015f59749cee2f44f11ba11e0593bdb53d5cf917cfc439f65d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24aaa78e5ded015f59749cee2f44f11ba11e0593bdb53d5cf917cfc439f65d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24aaa78e5ded015f59749cee2f44f11ba11e0593bdb53d5cf917cfc439f65d25", kill_on_drop: false }` [INFO] [stdout] 24aaa78e5ded015f59749cee2f44f11ba11e0593bdb53d5cf917cfc439f65d25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 01cce50279ee634ccf53693c731c348e8f195e9392178bc400bb5f50b9d5b5c3 [INFO] running `Command { std: "docker" "start" "-a" "01cce50279ee634ccf53693c731c348e8f195e9392178bc400bb5f50b9d5b5c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling gimbal_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/lang/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/lang/cst.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/lang/cst.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use pest::{Parser, Span}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/database/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/database/integration.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DiffDiagnosis` [INFO] [stdout] --> src/database/drivers/mock.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::database::integration::{DbDiff, DiffDiagnosis}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::DbError` [INFO] [stdout] --> src/database/drivers/postgres.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use postgres::{Client, NoTls, error::DbError, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lang/cst.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | fn qualified_name(mut pairs: Pairs) -> (Option, String) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_changes` [INFO] [stdout] --> src/database/drivers/mock.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn execute_changes(db_changes: &meta::DatabaseChange, db_config: &meta::DatabaseConfig) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_changes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_config` [INFO] [stdout] --> src/database/drivers/mock.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn execute_changes(db_changes: &meta::DatabaseChange, db_config: &meta::DatabaseConfig) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_config` [INFO] [stdout] --> src/database/drivers/mock.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn diffs_to_changes(db_diffs: &Vec, db_config: &meta::DatabaseConfig) -> meta::DatabaseChange { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/database/drivers/mock.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | , Some(table) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_config` [INFO] [stdout] --> src/database/drivers/postgres.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute_changes(db_changes: &meta::DatabaseChange, db_config: &meta::DatabaseConfig) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_config` [INFO] [stdout] --> src/database/drivers/postgres.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | fn db_columns_for_table(db_config: &meta::DatabaseConfig, table_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_config` [INFO] [stdout] --> src/database/drivers/postgres.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn diffs_to_changes(db_diffs: &Vec, db_config: &meta::DatabaseConfig) -> meta::DatabaseChange { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | fn migrate(args: &Vec) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AstError` is never used [INFO] [stdout] --> src/lang/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AstError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/lang/ast.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Application { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 60 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `entity_unique_names` are never used [INFO] [stdout] --> src/lang/ast.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 65 | impl Application { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn entity_unique_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function_types` is never read [INFO] [stdout] --> src/lang/ast.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct EntityType { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 95 | qualified_name: QualifiedName [INFO] [stdout] 96 | , function_types: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `unique_name` are never used [INFO] [stdout] --> src/lang/ast.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 99 | impl EntityType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn unique_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_function_to_entity_type` is never used [INFO] [stdout] --> src/lang/ast.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn add_function_to_entity_type(entity: EntityType, qualified_name: QualifiedName) -> EntityType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/lang/ast.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 131 | impl FunctionType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `try_to_function_type` are never used [INFO] [stdout] --> src/lang/ast.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 161 | impl AType { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 162 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn try_to_function_type(&self) -> Option<&FunctionType> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lang/cst.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 137 | impl FunctionType { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 138 | pub fn new(name: &str, dom: (Option, String), codom: (Option, String)) -> FunctionType { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `duration` is never read [INFO] [stdout] --> src/lang/cst.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct EntityType { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 157 | name: String [INFO] [stdout] 158 | , duration: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lang/cst.rs:162:6 [INFO] [stdout] | [INFO] [stdout] 161 | impl EntityType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 162 | fn new(name: &str, duration: &str) -> EntityType { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `used_namespaces` is never read [INFO] [stdout] --> src/lang/cst.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FileRoot { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 188 | , used_namespaces: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileRoot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_main_file` is never used [INFO] [stdout] --> src/lang/cst.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 191 | impl FileRoot { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn is_main_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_name` is never read [INFO] [stdout] --> src/database/integration.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AstTable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 29 | entity_name: ast::QualifiedName [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ast_to_db` is never used [INFO] [stdout] --> src/database/integration.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn ast_to_db(ast: &ast::Application) -> meta::Database { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/database/meta.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | MockDb(DatabaseConfig) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseChange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - MockDb(DatabaseConfig) [INFO] [stdout] 7 + MockDb(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/database/meta.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | , Postgres(String) [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - , Postgres(String) [INFO] [stdout] 30 + , Postgres(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/database/meta.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tables` are never used [INFO] [stdout] --> src/database/meta.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 46 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 47 | pub fn new(tables: Vec) -> Database { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn tables(&self) -> &Vec
{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/database/meta.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 58 | schema: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `schema` is never used [INFO] [stdout] --> src/database/meta.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 64 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn schema(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TABLES` is never used [INFO] [stdout] --> src/database/drivers/mock.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static mut TABLES: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tables_for_entities` is never used [INFO] [stdout] --> src/database/drivers/mock.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn tables_for_entities(entities: Vec) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tables` is never used [INFO] [stdout] --> src/database/drivers/mock.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn tables() -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_missing` is never used [INFO] [stdout] --> src/database/drivers/mock.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn create_missing(table_list: &HashMap>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/database/drivers/mock.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | entities.into_iter().map(|e| (e.clone(), TABLES.iter().find(|t| t.name() == e).clone())).collect() [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/database/drivers/mock.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | TABLES.iter().map(|t| meta::Table::new(&t.schema(), &t.name(), vec!())).collect::>() [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/database/drivers/mock.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | TABLES.push(meta::Table::new("", &k.clone(), vec!())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc9Ek7NJ/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpostgres-0b5c6d73653a2365.rlib,libtokio_postgres-72b1c9f987406900.rlib,libphf-24a018de17f1e777.rlib,libphf_shared-05e1b0c0871e73be.rlib,libsiphasher-f3fbdfe4fd51f810.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libsocket2-4bd23094ff94e8c3.rlib,libtokio_util-5160dc7cffa8b6d6.rlib,libparking_lot-badb6d1c217b1714.rlib,libparking_lot_core-b5153101e8bc8316.rlib,libsmallvec-39c23b8b078c47c3.rlib,liblock_api-c3c95a699de46305.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-e23fa3fb52ce1101.rlib,libtokio-e6029c651c420703.rlib,libmio-5b8366738828326b.rlib,liblog-2fa663e3959e676f.rlib,libpostgres_types-73b3f01daea6f1cd.rlib,libpostgres_protocol-d5f2cc3880b18b54.rlib,libbase64-1447dfff012d42f8.rlib,libstringprep-503f886cc740e713.rlib,libunicode_normalization-b999db1f4766a6ba.rlib,libtinyvec-4bc788528a02b60f.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-fb711a4a1fa89e19.rlib,libsha2-ee83d29fa60abf6b.rlib,libcpufeatures-03d302c468f0d4ec.rlib,librand-37f2497dfca329d4.rlib,librand_chacha-0619a62a03deaa64.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-0d1a3bc694208841.rlib,libgetrandom-04f097323014c6fb.rlib,liblibc-251707493d3b6101.rlib,libcfg_if-66d55f6b302e88c8.rlib,libhmac-d65e53075562e1ed.rlib,libmd5-c26076330199f8f6.rlib,libdigest-fefd9ec762874151.rlib,libsubtle-af5f0d59ba7ae801.rlib,libblock_buffer-6b87b9b91ad600c8.rlib,libcrypto_common-cb5c7dac49604892.rlib,libgeneric_array-65d04639c2d25e3e.rlib,libtypenum-c30adc9f15bf22b3.rlib,libfutures-695993cc8fe389f0.rlib,libfutures_executor-6f866b25c4b15c4c.rlib,libfutures_util-2dfd255c92eefe9e.rlib,libmemchr-a2892755812de0fe.rlib,libfutures_io-c37adbf38ba7e010.rlib,libslab-93074f6ff5a0b7db.rlib,libfutures_channel-82fcaf3edaa4e9d7.rlib,libpin_project_lite-049930466ef9967f.rlib,libfutures_sink-c9f7a3542fd7e063.rlib,libfutures_task-8d01264ee8be7a4a.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-e674cac6d3f3e322.rlib,libbytes-37e68ee094a72681.rlib,libbyteorder-c7092f68299ac016.rlib,libfallible_iterator-da18290346318e11.rlib,libyaml_rust-5a77fab4494a7e90.rlib,liblinked_hash_map-606dc3728cba933f.rlib,libpest-80731a695d4ad35d.rlib,libucd_trie-13451e140af838e0.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc9Ek7NJ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gimbal_server-c297fa5859a85db3" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-04f097323014c6fb.rlib(getrandom-04f097323014c6fb.getrandom.2ba63bfdd9ac5174-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h63b4fbb55d9268e2E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gimbal_server` (bin "gimbal_server") due to 1 previous error; 44 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01cce50279ee634ccf53693c731c348e8f195e9392178bc400bb5f50b9d5b5c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01cce50279ee634ccf53693c731c348e8f195e9392178bc400bb5f50b9d5b5c3", kill_on_drop: false }` [INFO] [stdout] 01cce50279ee634ccf53693c731c348e8f195e9392178bc400bb5f50b9d5b5c3