[INFO] cloning repository https://github.com/Bit-Maximum/rust-rest-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bit-Maximum/rust-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBit-Maximum%2Frust-rest-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBit-Maximum%2Frust-rest-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fb4d9ad3ff46909439473b2effbadfa0f572275 [INFO] testing Bit-Maximum/rust-rest-api against 1.86.0 for beta-1.87-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBit-Maximum%2Frust-rest-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bit-Maximum/rust-rest-api on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bit-Maximum/rust-rest-api [INFO] finished tweaking git repo https://github.com/Bit-Maximum/rust-rest-api [INFO] tweaked toml for git repo https://github.com/Bit-Maximum/rust-rest-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bit-Maximum/rust-rest-api 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded itoa v1.0.14 [INFO] [stderr] Downloaded serde_derive v1.0.215 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.97 [INFO] [stderr] Downloaded phf_generator v0.7.24 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded phf_codegen v0.7.24 [INFO] [stderr] Downloaded httparse v1.9.5 [INFO] [stderr] Downloaded redox_syscall v0.5.7 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.97 [INFO] [stderr] Downloaded miniz_oxide v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded tokio-postgres v0.7.12 [INFO] [stderr] Downloaded tokio-util v0.7.12 [INFO] [stderr] Downloaded syn v2.0.90 [INFO] [stderr] Downloaded socket2 v0.5.8 [INFO] [stderr] Downloaded js-sys v0.3.74 [INFO] [stderr] Downloaded postgres v0.19.9 [INFO] [stderr] Downloaded unicode-bidi v0.3.17 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.97 [INFO] [stderr] Downloaded wasm-bindgen v0.2.97 [INFO] [stderr] Downloaded priority-queue v2.1.1 [INFO] [stderr] Downloaded phf v0.7.24 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] [stderr] Downloaded postgres-protocol v0.6.7 [INFO] [stderr] Downloaded postgres-types v0.2.8 [INFO] [stderr] Downloaded libc v0.2.167 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.97 [INFO] [stderr] Downloaded object v0.36.5 [INFO] [stderr] Downloaded phf_shared v0.7.24 [INFO] [stderr] Downloaded tokio v1.41.1 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded serde v1.0.215 [INFO] [stderr] Downloaded web-sys v0.3.74 [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded router v0.6.0 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2510acfcf63d3789bf4089ef1106932349e9d0b2b3ed63d3c4929c99470d835 [INFO] running `Command { std: "docker" "start" "-a" "b2510acfcf63d3789bf4089ef1106932349e9d0b2b3ed63d3c4929c99470d835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2510acfcf63d3789bf4089ef1106932349e9d0b2b3ed63d3c4929c99470d835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2510acfcf63d3789bf4089ef1106932349e9d0b2b3ed63d3c4929c99470d835", kill_on_drop: false }` [INFO] [stdout] b2510acfcf63d3789bf4089ef1106932349e9d0b2b3ed63d3c4929c99470d835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 110b3a0a5a6c1e0429737e05e10f48ffb77234489439265f7d18108ffa777d09 [INFO] running `Command { std: "docker" "start" "-a" "110b3a0a5a6c1e0429737e05e10f48ffb77234489439265f7d18108ffa777d09", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling priority-queue v2.1.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling postgres v0.19.9 [INFO] [stderr] Compiling untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/handlers.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_cities(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/handlers.rs:272:39 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn get_roads(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/db.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn read(sync_db: &Mutex, name: Option<&str>) -> Result, ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_records` is never used [INFO] [stdout] --> src/handlers.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_records(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROUTS` is never used [INFO] [stdout] --> src/handlers.rs:362:11 [INFO] [stdout] | [INFO] [stdout] 362 | pub const ROUTS: &'static str = "Available routes: [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INF` is never used [INFO] [stdout] --> src/algorithm.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const INF: i32 = 10_i32.pow(9); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dijkstra_cost` is never used [INFO] [stdout] --> src/algorithm.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn dijkstra_cost(n: usize, start:usize, dist: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "110b3a0a5a6c1e0429737e05e10f48ffb77234489439265f7d18108ffa777d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110b3a0a5a6c1e0429737e05e10f48ffb77234489439265f7d18108ffa777d09", kill_on_drop: false }` [INFO] [stdout] 110b3a0a5a6c1e0429737e05e10f48ffb77234489439265f7d18108ffa777d09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01adcf236e9318e4bcff01a421ec12cedebe9db8c2067e41cbb1f466c1e5e9ef [INFO] running `Command { std: "docker" "start" "-a" "01adcf236e9318e4bcff01a421ec12cedebe9db8c2067e41cbb1f466c1e5e9ef", kill_on_drop: false }` [INFO] [stderr] Compiling untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/handlers.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_cities(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/handlers.rs:272:39 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn get_roads(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/db.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn read(sync_db: &Mutex, name: Option<&str>) -> Result, ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_records` is never used [INFO] [stdout] --> src/handlers.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_records(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROUTS` is never used [INFO] [stdout] --> src/handlers.rs:362:11 [INFO] [stdout] | [INFO] [stdout] 362 | pub const ROUTS: &'static str = "Available routes: [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INF` is never used [INFO] [stdout] --> src/algorithm.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const INF: i32 = 10_i32.pow(9); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dijkstra_cost` is never used [INFO] [stdout] --> src/algorithm.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn dijkstra_cost(n: usize, start:usize, dist: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "01adcf236e9318e4bcff01a421ec12cedebe9db8c2067e41cbb1f466c1e5e9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01adcf236e9318e4bcff01a421ec12cedebe9db8c2067e41cbb1f466c1e5e9ef", kill_on_drop: false }` [INFO] [stdout] 01adcf236e9318e4bcff01a421ec12cedebe9db8c2067e41cbb1f466c1e5e9ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e05520804ae565b8627b9396ae58ffbe3baa0652fba4f2f422b13261405f8321 [INFO] running `Command { std: "docker" "start" "-a" "e05520804ae565b8627b9396ae58ffbe3baa0652fba4f2f422b13261405f8321", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/handlers.rs:191:40 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn get_cities(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/handlers.rs:272:39 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn get_roads(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: function `read` is never used [INFO] [stderr] --> src/db.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn read(sync_db: &Mutex, name: Option<&str>) -> Result, ()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_records` is never used [INFO] [stderr] --> src/handlers.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn get_records(sdb: &Mutex, request: &mut Request) -> IronResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ROUTS` is never used [INFO] [stderr] --> src/handlers.rs:362:11 [INFO] [stderr] | [INFO] [stderr] 362 | pub const ROUTS: &'static str = "Available routes: [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INF` is never used [INFO] [stderr] --> src/algorithm.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const INF: i32 = 10_i32.pow(9); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dijkstra_cost` is never used [INFO] [stderr] --> src/algorithm.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn dijkstra_cost(n: usize, start:usize, dist: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `untitled` (bin "untitled" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/untitled-5a965a57e470a856) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e05520804ae565b8627b9396ae58ffbe3baa0652fba4f2f422b13261405f8321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05520804ae565b8627b9396ae58ffbe3baa0652fba4f2f422b13261405f8321", kill_on_drop: false }` [INFO] [stdout] e05520804ae565b8627b9396ae58ffbe3baa0652fba4f2f422b13261405f8321