[INFO] fetching crate gauc 0.8.1... [INFO] testing gauc-0.8.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate gauc 0.8.1 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate gauc 0.8.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded conduit-mime-types v0.7.3 [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded error v0.1.9 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded buf_redux v0.6.3 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded iron v0.5.1 [INFO] [stderr] Downloaded router v0.5.1 [INFO] [stderr] Downloaded urlencoded v0.5.0 [INFO] [stderr] Downloaded bodyparser v0.6.0 [INFO] [stderr] Downloaded persistent v0.3.0 [INFO] [stderr] Downloaded bodyparser v0.5.0 [INFO] [stderr] Downloaded params v0.7.1 [INFO] [stderr] Downloaded multipart v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e2b290d9b34af0ca38097b301b1ced6503fe0567d063e65667f8d457a82d1d9 [INFO] running `Command { std: "docker" "start" "-a" "9e2b290d9b34af0ca38097b301b1ced6503fe0567d063e65667f8d457a82d1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e2b290d9b34af0ca38097b301b1ced6503fe0567d063e65667f8d457a82d1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2b290d9b34af0ca38097b301b1ced6503fe0567d063e65667f8d457a82d1d9", kill_on_drop: false }` [INFO] [stdout] 9e2b290d9b34af0ca38097b301b1ced6503fe0567d063e65667f8d457a82d1d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e89c63cba740a59bd16e3972fdd6c92f5b16fecaa9652f9924e4f1620c8b7ea [INFO] running `Command { std: "docker" "start" "-a" "1e89c63cba740a59bd16e3972fdd6c92f5b16fecaa9652f9924e4f1620c8b7ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [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.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.8 [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 num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [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 plugin v0.2.6 [INFO] [stderr] Compiling textwrap v0.11.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 unicase v1.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling serde_json v0.8.6 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling rand_os v0.1.3 [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.23.0 [INFO] [stderr] Compiling atty v0.2.14 [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 tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [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 multipart v0.12.0 [INFO] [stderr] Compiling urlencoded v0.5.0 [INFO] [stderr] Compiling params v0.7.1 [INFO] [stderr] Compiling ctrlc v3.2.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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 411 - gcmd.cmdflags = (1 << 16); // LCB_CMDVIEWQUERY_F_INCLUDE_DOCS; [INFO] [stdout] 411 + gcmd.cmdflags = 1 << 16; // LCB_CMDVIEWQUERY_F_INCLUDE_DOCS; [INFO] [stdout] | [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 [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 [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 [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 [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 [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 [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 [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-f92359dd144e0d71.gauc.b5783506-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gauc-f92359dd144e0d71.28wgm9r34cy7a5pm.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libgauc-000ff19c26e56336.rlib" "/opt/rustwide/target/debug/deps/libserde_json-e8df40e033ec564a.rlib" "/opt/rustwide/target/debug/deps/libryu-fedf4ca2195b8efd.rlib" "/opt/rustwide/target/debug/deps/libitoa-c71a437ca06cc857.rlib" "/opt/rustwide/target/debug/deps/libserde-1b6dc804d552ab2e.rlib" "/opt/rustwide/target/debug/deps/librouter-97eef77f00bc7471.rlib" "/opt/rustwide/target/debug/deps/libroute_recognizer-e409b7cd1cf46e37.rlib" "/opt/rustwide/target/debug/deps/libparams-23d7946590f3eb44.rlib" "/opt/rustwide/target/debug/deps/liburlencoded-dc89ef8829fa669f.rlib" "/opt/rustwide/target/debug/deps/libbodyparser-3c96bff197d14afa.rlib" "/opt/rustwide/target/debug/deps/libserde_json-b94c03061668d73f.rlib" "/opt/rustwide/target/debug/deps/libdtoa-1c0c99ee1deced36.rlib" "/opt/rustwide/target/debug/deps/libitoa-583acc8a65efc26a.rlib" "/opt/rustwide/target/debug/deps/libserde-f46e671cb45675a8.rlib" "/opt/rustwide/target/debug/deps/libnum-c7784b9e9ebb8831.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-4c2e5535e84c967f.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-e9c4ddaa06d385e7.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-372fedd6693be1d7.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-a0150de348d8be20.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-0efaa4a1e53ba761.rlib" "/opt/rustwide/target/debug/deps/libmultipart-7c1354b4620a12d2.rlib" "/opt/rustwide/target/debug/deps/libtwoway-ef7e78992db18181.rlib" "/opt/rustwide/target/debug/deps/libbuf_redux-8e868657cff5a440.rlib" "/opt/rustwide/target/debug/deps/libsafemem-4361f4002e9b7828.rlib" "/opt/rustwide/target/debug/deps/libmemchr-b24dc8bddeb83ed7.rlib" "/opt/rustwide/target/debug/deps/libtempdir-46342ae8d297948f.rlib" "/opt/rustwide/target/debug/deps/libremove_dir_all-6db8331ec1c4e72f.rlib" "/opt/rustwide/target/debug/deps/librand-69479869436fda6e.rlib" "/opt/rustwide/target/debug/deps/librand-8656f8831cf4d3c2.rlib" "/opt/rustwide/target/debug/deps/libmime_guess-6e6410282bae9949.rlib" "/opt/rustwide/target/debug/deps/libphf-635e0ba3de520e1c.rlib" "/opt/rustwide/target/debug/deps/libphf_shared-ca58811ca2b88313.rlib" "/opt/rustwide/target/debug/deps/libsiphasher-0a22265314230762.rlib" "/opt/rustwide/target/debug/deps/libbodyparser-7551e07b084d50a1.rlib" "/opt/rustwide/target/debug/deps/libserde_json-f5f03ddaa322a4bf.rlib" "/opt/rustwide/target/debug/deps/libdtoa-14adace6fe09bde6.rlib" "/opt/rustwide/target/debug/deps/libitoa-a734781064f21280.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-15b355cb5c7cb016.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6521b16187d6b8f4.rlib" "/opt/rustwide/target/debug/deps/libserde-1d8b840e5b2e2df5.rlib" "/opt/rustwide/target/debug/deps/libpersistent-398ad32704a5aa87.rlib" "/opt/rustwide/target/debug/deps/libiron-aecdec57309d7378.rlib" "/opt/rustwide/target/debug/deps/libmodifier-348cf940e9f95d88.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b0e7bafe2154306a.rlib" "/opt/rustwide/target/debug/deps/libconduit_mime_types-6da7f9012f2edbc9.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-ade0cc12c5ef624a.rlib" "/opt/rustwide/target/debug/deps/liberror-ce185c937e2f0c6e.rlib" "/opt/rustwide/target/debug/deps/libplugin-602d7ab89ad7a9a2.rlib" "/opt/rustwide/target/debug/deps/libtypemap-0e4274a17e401313.rlib" "/opt/rustwide/target/debug/deps/libunsafe_any-843b450d6d60d480.rlib" "/opt/rustwide/target/debug/deps/libhyper-c5d33900c7ec582c.rlib" "/opt/rustwide/target/debug/deps/libmime-f9012b61e100dcfb.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-e2f03f6d3ee6df95.rlib" "/opt/rustwide/target/debug/deps/libtypeable-7a0e17cf15b95596.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-ac408b27f7e01f65.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-2bcd0b1ab64bbcad.rlib" "/opt/rustwide/target/debug/deps/libhttparse-e70d869de1ab0cb1.rlib" "/opt/rustwide/target/debug/deps/libunicase-0250de181797f8cc.rlib" "/opt/rustwide/target/debug/deps/liburl-244354a3bc308f12.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-1c22d2520115e5fb.rlib" "/opt/rustwide/target/debug/deps/libidna-05c123a9b11a0368.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-09f675c9a5617266.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-91c62b3f3c9e0a76.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-8f36f65da14d810a.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-2f4879bcabb7b816.rlib" "/opt/rustwide/target/debug/deps/libmatches-94fda48e5e4c1005.rlib" "/opt/rustwide/target/debug/deps/libtime-07c76785984ae250.rlib" "/opt/rustwide/target/debug/deps/libbase64-15512e51c56deeda.rlib" "/opt/rustwide/target/debug/deps/libsafemem-bf833af81e1a5d2d.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3386849127ec7437.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ea87b6c2fe761216.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-91b9e0d063734789.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-2ddfc09cde4cdc0c.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-d066e6f50a258123.rlib" "/opt/rustwide/target/debug/deps/libctrlc-8ef409671a195528.rlib" "/opt/rustwide/target/debug/deps/libnix-9bb6d41ab7cdf4d2.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-e00d819283c07f9f.rlib" "/opt/rustwide/target/debug/deps/libclap-ba7a8effb92a803a.rlib" "/opt/rustwide/target/debug/deps/libvec_map-d4f07e9e0554b315.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-47de9e5953040c4d.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-06f3e9124c42e8b3.rlib" "/opt/rustwide/target/debug/deps/libstrsim-de24b5a82a358084.rlib" "/opt/rustwide/target/debug/deps/libbitflags-de1f0b76046eea2a.rlib" "/opt/rustwide/target/debug/deps/libatty-1178fdac1778052d.rlib" "/opt/rustwide/target/debug/deps/liblibc-df862b8de219205b.rlib" "/opt/rustwide/target/debug/deps/libansi_term-f3162ca25925bbbc.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-79cad2e708e4baee.rlib" "/opt/rustwide/target/debug/deps/libregex-c0c235b766162e72.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-91d5cc5523b30c9c.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-ff84190668c84cef.rlib" "/opt/rustwide/target/debug/deps/libucd_util-9b38781444d338e1.rlib" "/opt/rustwide/target/debug/deps/libthread_local-aaf82ed2c8251644.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-56f839fc5f97cc86.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-0df7544920ea5db9.rlib" "/opt/rustwide/target/debug/deps/libmemchr-e6d939e6ed8a4b77.rlib" "/opt/rustwide/target/debug/deps/liblog-9b549669571d2209.rlib" "/opt/rustwide/target/debug/deps/liblog-eda6d0c1d973985f.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-5253e57569830399.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lcouchbase" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gauc-f92359dd144e0d71" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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" "1e89c63cba740a59bd16e3972fdd6c92f5b16fecaa9652f9924e4f1620c8b7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e89c63cba740a59bd16e3972fdd6c92f5b16fecaa9652f9924e4f1620c8b7ea", kill_on_drop: false }` [INFO] [stdout] 1e89c63cba740a59bd16e3972fdd6c92f5b16fecaa9652f9924e4f1620c8b7ea