[INFO] fetching crate gauc 0.8.1... [INFO] testing gauc-0.8.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate gauc 0.8.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate gauc 0.8.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60f9c03e6087e0259feea3888e4ad458c25247eb36dfd61c2a7553cbe83023d0 [INFO] running `Command { std: "docker" "start" "-a" "60f9c03e6087e0259feea3888e4ad458c25247eb36dfd61c2a7553cbe83023d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60f9c03e6087e0259feea3888e4ad458c25247eb36dfd61c2a7553cbe83023d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f9c03e6087e0259feea3888e4ad458c25247eb36dfd61c2a7553cbe83023d0", kill_on_drop: false }` [INFO] [stdout] 60f9c03e6087e0259feea3888e4ad458c25247eb36dfd61c2a7553cbe83023d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af7b4546a528b6efcda637a1fe642cb19e8121a2303469bfaf780c2c86561d8c [INFO] running `Command { std: "docker" "start" "-a" "af7b4546a528b6efcda637a1fe642cb19e8121a2303469bfaf780c2c86561d8c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 httparse v1.4.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [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 unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling serde_json v0.8.6 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling buf_redux v0.6.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling multipart v0.12.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling iron v0.5.1 [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-9de4e8e53d50fc7f.gauc.6fed757b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gauc-9de4e8e53d50fc7f.oahicnglw1d9c0a.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libgauc-02365ba21cbfccdc.rlib" "/opt/rustwide/target/debug/deps/libserde_json-2f9774eca371838a.rlib" "/opt/rustwide/target/debug/deps/libryu-cbac2d8d2ebeecfa.rlib" "/opt/rustwide/target/debug/deps/libitoa-90c1b3be1b98b769.rlib" "/opt/rustwide/target/debug/deps/libserde-edc20ebc906c819b.rlib" "/opt/rustwide/target/debug/deps/librouter-9df21239e04266ad.rlib" "/opt/rustwide/target/debug/deps/libroute_recognizer-9fcb7df131d31477.rlib" "/opt/rustwide/target/debug/deps/libparams-06143c8712d8ca9f.rlib" "/opt/rustwide/target/debug/deps/liburlencoded-69dffaa3214f8b71.rlib" "/opt/rustwide/target/debug/deps/libbodyparser-d8bc7cc60975e3b7.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-adfe89a8d35f4dfe.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-16dcaa8721d2771b.rlib" "/opt/rustwide/target/debug/deps/libiron-727b6cb9d2cf6106.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-482683d96df67284.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-2718d5e2c087a5e7.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-40c6de1406b90f2c.rlib" "/opt/rustwide/target/debug/deps/libidna-1faf089f182bf39f.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-64cd658b1ef31361.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-9817edbba660804e.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/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-08487f8e282f19e0.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-9e93f1ef523b9dfd.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fd135b1b487350d3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-6d527484b6287cb3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-91c5e579413a9548.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/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lcouchbase" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gauc-9de4e8e53d50fc7f" "-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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "af7b4546a528b6efcda637a1fe642cb19e8121a2303469bfaf780c2c86561d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7b4546a528b6efcda637a1fe642cb19e8121a2303469bfaf780c2c86561d8c", kill_on_drop: false }` [INFO] [stdout] af7b4546a528b6efcda637a1fe642cb19e8121a2303469bfaf780c2c86561d8c