[INFO] fetching crate gauc 0.8.1... [INFO] testing gauc-0.8.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate gauc 0.8.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate gauc 0.8.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gauc 0.8.1 [INFO] finished tweaking crates.io crate gauc 0.8.1 [INFO] tweaked toml for crates.io crate gauc 0.8.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded router v0.5.1 [INFO] [stderr] Downloaded ctrlc v3.1.9 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded bodyparser v0.5.0 [INFO] [stderr] Downloaded urlencoded v0.5.0 [INFO] [stderr] Downloaded buf_redux v0.6.3 [INFO] [stderr] Downloaded persistent v0.3.0 [INFO] [stderr] Downloaded multipart v0.12.0 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded error v0.1.9 [INFO] [stderr] Downloaded conduit-mime-types v0.7.3 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded iron v0.5.1 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded bodyparser v0.6.0 [INFO] [stderr] Downloaded params v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f015db01fb6583916fc5b95fb9e458d1676f8d9eb145ff3aaf3666e49490e50d [INFO] running `Command { std: "docker" "start" "-a" "f015db01fb6583916fc5b95fb9e458d1676f8d9eb145ff3aaf3666e49490e50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f015db01fb6583916fc5b95fb9e458d1676f8d9eb145ff3aaf3666e49490e50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f015db01fb6583916fc5b95fb9e458d1676f8d9eb145ff3aaf3666e49490e50d", kill_on_drop: false }` [INFO] [stdout] f015db01fb6583916fc5b95fb9e458d1676f8d9eb145ff3aaf3666e49490e50d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8cf9f9fb2b5b78771725654178e28390886b9be1100fec80f3810701bfbc8166 [INFO] running `Command { std: "docker" "start" "-a" "8cf9f9fb2b5b78771725654178e28390886b9be1100fec80f3810701bfbc8166", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling serde_json v0.8.6 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling buf_redux v0.6.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling multipart v0.12.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling iron v0.5.1 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling persistent v0.3.0 [INFO] [stderr] Compiling router v0.5.1 [INFO] [stderr] Compiling bodyparser v0.5.0 [INFO] [stderr] Compiling bodyparser v0.6.0 [INFO] [stderr] Compiling urlencoded v0.5.0 [INFO] [stderr] Compiling params v0.7.1 [INFO] [stderr] Compiling gauc v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | pub type OperationResultGetCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::Get)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | pub type OperationResultGetInternalCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::GetInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub type OperationResultRemoveCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::Remove)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:24:58 [INFO] [stdout] | [INFO] [stdout] 24 | pub type OperationResultRemoveInternalCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::RemoveInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | pub type OperationResultStoreCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::Store)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | pub type OperationResultStoreInternalCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::StoreInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | pub type OperationResultViewQueryCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::ViewQuery)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 36 | pub type OperationResultViewQueryInternalCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::ViewQueryInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | pub type OperationResultViewQueryInternalRowCallback = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Instance, &u64, *mut c_void)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:210:62 [INFO] [stdout] | [INFO] [stdout] 210 | let user_data = Box::into_raw(boxed) as *mut Box as *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::GetInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:274:62 [INFO] [stdout] | [INFO] [stdout] 274 | let user_data = Box::into_raw(boxed) as *mut Box as *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::RemoveInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:355:62 [INFO] [stdout] | [INFO] [stdout] 355 | let user_data = Box::into_raw(boxed) as *mut Box as *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::StoreInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:404:41 [INFO] [stdout] | [INFO] [stdout] 404 | ... let cb: Box> = Box::from_raw(row.cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::ViewQueryInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:404:115 [INFO] [stdout] | [INFO] [stdout] 404 | ...row.cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::ViewQueryInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/client/mod.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | gcmd.cmdflags = (1 << 16); // LCB_CMDVIEWQUERY_F_INCLUDE_DOCS; [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:436:62 [INFO] [stdout] | [INFO] [stdout] 436 | let user_data = Box::into_raw(boxed) as *mut Box as *mut c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::ViewQueryInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:482:35 [INFO] [stdout] | [INFO] [stdout] 482 | let callback: Box> = Box::from_raw(cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::GetInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:482:99 [INFO] [stdout] | [INFO] [stdout] 482 | let callback: Box> = Box::from_raw(cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::GetInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:491:35 [INFO] [stdout] | [INFO] [stdout] 491 | let callback: Box> = Box::from_raw(cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::RemoveInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:491:102 [INFO] [stdout] | [INFO] [stdout] 491 | let callback: Box> = Box::from_raw(cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::RemoveInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:499:35 [INFO] [stdout] | [INFO] [stdout] 499 | let callback: Box> = Box::from_raw(cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::StoreInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:499:101 [INFO] [stdout] | [INFO] [stdout] 499 | let callback: Box> = Box::from_raw(cookie as *mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&response::StoreInternal)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AuthType` [INFO] [stdout] --> src/couchbase/types/authenticator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::AuthType; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::funcs::lcbauth_set_mode` [INFO] [stdout] --> src/couchbase/types/authenticator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::super::funcs::lcbauth_set_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/mod.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let mut res = lcbauth_new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/web/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let mut cas: u64 = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/web/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut exptime: u32 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client/mod.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | ... CString::new(&cred.0[..]).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/client/mod.rs:108:64 [INFO] [stdout] | [INFO] [stdout] 108 | ... CString::new(&cred.1[..]).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/gauc-da2042217b89e81c.gauc.85c84412-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gauc-da2042217b89e81c.3rxgg23036rtxyv2.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libgauc-cc7f9d09c5858570.rlib" "/opt/rustwide/target/debug/deps/libserde_json-dde29dfdb82138b8.rlib" "/opt/rustwide/target/debug/deps/libryu-cbac2d8d2ebeecfa.rlib" "/opt/rustwide/target/debug/deps/libitoa-90c1b3be1b98b769.rlib" "/opt/rustwide/target/debug/deps/libserde-72c013e16c8cdecf.rlib" "/opt/rustwide/target/debug/deps/librouter-2879e0e9389317bc.rlib" "/opt/rustwide/target/debug/deps/libroute_recognizer-9fcb7df131d31477.rlib" "/opt/rustwide/target/debug/deps/libparams-395cd073b104d9f1.rlib" "/opt/rustwide/target/debug/deps/liburlencoded-f33c44186cdb6623.rlib" "/opt/rustwide/target/debug/deps/libbodyparser-5d6903312d0520a9.rlib" "/opt/rustwide/target/debug/deps/libserde_json-ce3edc1e55039793.rlib" "/opt/rustwide/target/debug/deps/libdtoa-1adf3f06cc8dc5b4.rlib" "/opt/rustwide/target/debug/deps/libitoa-d6fe5e6ab9808a4b.rlib" "/opt/rustwide/target/debug/deps/libserde-8f0a1037996fd487.rlib" "/opt/rustwide/target/debug/deps/libnum-6c493c2625f99f3f.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-585f2270ec4dd53d.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-aaae9b6b85e93c32.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-76b9dadf34bb1441.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-463c2f38230c6b56.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-9b0a12fd6857adf2.rlib" "/opt/rustwide/target/debug/deps/libmultipart-70c5b44c00402ae2.rlib" "/opt/rustwide/target/debug/deps/libtwoway-f03838f62e7e471b.rlib" "/opt/rustwide/target/debug/deps/libbuf_redux-9b975e6f357b6d64.rlib" "/opt/rustwide/target/debug/deps/libsafemem-aedbe604b07448ae.rlib" "/opt/rustwide/target/debug/deps/libmemchr-5015fff4c3322ca2.rlib" "/opt/rustwide/target/debug/deps/libtempdir-2726710f5a239b34.rlib" "/opt/rustwide/target/debug/deps/libremove_dir_all-6f2be4dbd4bd0f53.rlib" "/opt/rustwide/target/debug/deps/librand-8e0f303041006cca.rlib" "/opt/rustwide/target/debug/deps/librand-63b7ecf19990bc82.rlib" "/opt/rustwide/target/debug/deps/libmime_guess-c52e1fb0c6fa7834.rlib" "/opt/rustwide/target/debug/deps/libphf-fe9084ac65aad975.rlib" "/opt/rustwide/target/debug/deps/libphf_shared-f3af7476389950ae.rlib" "/opt/rustwide/target/debug/deps/libsiphasher-fe7c9683b024ffe7.rlib" "/opt/rustwide/target/debug/deps/libbodyparser-af6eb4d6f16a8de1.rlib" "/opt/rustwide/target/debug/deps/libserde_json-cfe9f33714d64515.rlib" "/opt/rustwide/target/debug/deps/libdtoa-f97f7d1833dc5909.rlib" "/opt/rustwide/target/debug/deps/libitoa-bb0300608fc87344.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-54209cb200a33f64.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-eee4f87269a0812c.rlib" "/opt/rustwide/target/debug/deps/libserde-339c318010e0f8ab.rlib" "/opt/rustwide/target/debug/deps/libpersistent-58e5e71155c66f73.rlib" "/opt/rustwide/target/debug/deps/libiron-5347e9e2b8e3b41a.rlib" "/opt/rustwide/target/debug/deps/libmodifier-dfba08212f53e5df.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e8303334351763a4.rlib" "/opt/rustwide/target/debug/deps/libconduit_mime_types-50f77684553200ce.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-ffb7a5f126d4fac7.rlib" "/opt/rustwide/target/debug/deps/liberror-546b0f3a77bf1a20.rlib" "/opt/rustwide/target/debug/deps/libplugin-b4bafa54f7218637.rlib" "/opt/rustwide/target/debug/deps/libtypemap-94657da41acba55c.rlib" "/opt/rustwide/target/debug/deps/libunsafe_any-2f9c12106f9c74f3.rlib" "/opt/rustwide/target/debug/deps/libhyper-4a3846495d2d8e90.rlib" "/opt/rustwide/target/debug/deps/libmime-91f74f94d3286795.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-770f050bc89abda4.rlib" "/opt/rustwide/target/debug/deps/libtypeable-03c9cdce0a3e5b3c.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-97a95f449d7072e7.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-401806d02c5f632d.rlib" "/opt/rustwide/target/debug/deps/libhttparse-5bc9382b2008be16.rlib" "/opt/rustwide/target/debug/deps/libunicase-51e9a39aa5c0c175.rlib" "/opt/rustwide/target/debug/deps/liburl-1e4f1024f9b11bb2.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-40c6de1406b90f2c.rlib" "/opt/rustwide/target/debug/deps/libidna-fda6ec2df69fd2ce.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-427e58d83666c576.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-9beca80738a7156b.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-3c0bae8c4ab322eb.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-fb034050cfbded50.rlib" "/opt/rustwide/target/debug/deps/libmatches-a5d70a793e6bd241.rlib" "/opt/rustwide/target/debug/deps/libtime-fecac33b856eb865.rlib" "/opt/rustwide/target/debug/deps/libbase64-cd0102ce6254f8f6.rlib" "/opt/rustwide/target/debug/deps/libsafemem-2a69824b77414a2a.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-708b5c114840f105.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1ce38cc2ca963dbe.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-44cde79bf84da402.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-4dc925bb53d03412.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2216cca8b1bb2a2f.rlib" "/opt/rustwide/target/debug/deps/libctrlc-becadc9ef8bdfedd.rlib" "/opt/rustwide/target/debug/deps/libnix-dceeda4b34cbff0c.rlib" "/opt/rustwide/target/debug/deps/libclap-121b99a050e75018.rlib" "/opt/rustwide/target/debug/deps/libvec_map-5c1fd31529080dd6.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-b0f8686a6071d03c.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-c1c7d9dbe0f7f3b4.rlib" "/opt/rustwide/target/debug/deps/libstrsim-23e49e1d313aa0b8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d0affc8be6b547bc.rlib" "/opt/rustwide/target/debug/deps/libatty-3e3bdde0ef9fcb72.rlib" "/opt/rustwide/target/debug/deps/liblibc-5cee6160e82427e2.rlib" "/opt/rustwide/target/debug/deps/libansi_term-af4dd510945f58ed.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-77d1d606d40f610d.rlib" "/opt/rustwide/target/debug/deps/libregex-a8d76b006fb201e2.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-b67080c12b7ecba1.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-358fc271c84a4f45.rlib" "/opt/rustwide/target/debug/deps/libucd_util-318d0ae43c301af5.rlib" "/opt/rustwide/target/debug/deps/libthread_local-384665e4275a550b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e40c093b6a734b2e.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-4d463c08a0cb1f21.rlib" "/opt/rustwide/target/debug/deps/libmemchr-ce601b862244fc5c.rlib" "/opt/rustwide/target/debug/deps/liblog-31e2b479d4054da8.rlib" "/opt/rustwide/target/debug/deps/liblog-9ed53d88774b7b43.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-cb44529b79b0e2f0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.rlib" "-Wl,-Bdynamic" "-lcouchbase" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gauc-da2042217b89e81c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lcouchbase [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gauc` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8cf9f9fb2b5b78771725654178e28390886b9be1100fec80f3810701bfbc8166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf9f9fb2b5b78771725654178e28390886b9be1100fec80f3810701bfbc8166", kill_on_drop: false }` [INFO] [stdout] 8cf9f9fb2b5b78771725654178e28390886b9be1100fec80f3810701bfbc8166