[INFO] cloning repository https://github.com/telf-dev/rs-memcached [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/telf-dev/rs-memcached" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelf-dev%2Frs-memcached", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelf-dev%2Frs-memcached'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afd48eb4566d6da457713465f9a4e6f1989b76da [INFO] checking telf-dev/rs-memcached against master#d97bb195bf7b84815622b235cb51171c1b8f7e51 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelf-dev%2Frs-memcached" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telf-dev/rs-memcached on toolchain d97bb195bf7b84815622b235cb51171c1b8f7e51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/telf-dev/rs-memcached [INFO] finished tweaking git repo https://github.com/telf-dev/rs-memcached [INFO] tweaked toml for git repo https://github.com/telf-dev/rs-memcached written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/telf-dev/rs-memcached already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking telf-dev/rs-memcached against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelf-dev%2Frs-memcached" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telf-dev/rs-memcached on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/telf-dev/rs-memcached [INFO] finished tweaking git repo https://github.com/telf-dev/rs-memcached [INFO] tweaked toml for git repo https://github.com/telf-dev/rs-memcached written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/telf-dev/rs-memcached already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e14bb68870ab208cce6681e1ea2444073603472ca42368c2f220b9529e0644e5 [INFO] running `Command { std: "docker" "start" "-a" "e14bb68870ab208cce6681e1ea2444073603472ca42368c2f220b9529e0644e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e14bb68870ab208cce6681e1ea2444073603472ca42368c2f220b9529e0644e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14bb68870ab208cce6681e1ea2444073603472ca42368c2f220b9529e0644e5", kill_on_drop: false }` [INFO] [stdout] e14bb68870ab208cce6681e1ea2444073603472ca42368c2f220b9529e0644e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8596e5372d73e46d1150037bcd3e3779058e2e04a67063854ea562569370603 [INFO] running `Command { std: "docker" "start" "-a" "a8596e5372d73e46d1150037bcd3e3779058e2e04a67063854ea562569370603", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking memcached-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `anyhow`, `bail` [INFO] [stdout] --> examples/client.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{anyhow, bail, Context, Result}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `stdin`, `stdout` [INFO] [stdout] --> examples/client.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Local` [INFO] [stdout] --> examples/client.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{Local}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/time.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> examples/time.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::{sleep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sysNow` should have a snake case name [INFO] [stdout] --> examples/time.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let sysNow = SystemTime::now(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sys_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/client.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `record_list` in this scope [INFO] [stdout] --> src/server.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | ... job(stream, Arc::clone(&record_list), Arc::clone(&record_table)).context(format!("Thread {i} failed to process a job")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `record_table` in this scope [INFO] [stdout] --> src/server.rs:72:71 [INFO] [stdout] | [INFO] [stdout] 72 | ... job(stream, Arc::clone(&record_list), Arc::clone(&record_table)).context(format!("Thread {i} failed to process a job")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `record_list` in this scope [INFO] [stdout] --> src/server.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | ... job(stream, Arc::clone(&record_list), Arc::clone(&record_table)).context(format!("Thread {i} failed to process a job")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `record_table` in this scope [INFO] [stdout] --> src/server.rs:72:71 [INFO] [stdout] | [INFO] [stdout] 72 | ... job(stream, Arc::clone(&record_list), Arc::clone(&record_table)).context(format!("Thread {i} failed to process a job")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `m` in this scope [INFO] [stdout] --> src/server.rs:134:56 [INFO] [stdout] | [INFO] [stdout] 134 | threadpool: ThreadPool::new(s, Arc::clone(&m), Arc::clone(&r)), [INFO] [stdout] | ^ help: a local variable with a similar name exists: `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/server.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | threadpool: ThreadPool::new(s, Arc::clone(&m), Arc::clone(&r)), [INFO] [stdout] | ^ help: a local variable with a similar name exists: `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `records` in this scope [INFO] [stdout] --> src/server.rs:192:55 [INFO] [stdout] | [INFO] [stdout] 192 | "set" => store(args, &command[1], socket, records).context("Set command failed")?, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `records` in this scope [INFO] [stdout] --> src/server.rs:201:40 [INFO] [stdout] | [INFO] [stdout] 201 | "get" => get(args, socket, records).context("Get command failed")?, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `m` in this scope [INFO] [stdout] --> src/server.rs:134:56 [INFO] [stdout] | [INFO] [stdout] 134 | threadpool: ThreadPool::new(s, Arc::clone(&m), Arc::clone(&r)), [INFO] [stdout] | ^ help: a local variable with a similar name exists: `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/server.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | threadpool: ThreadPool::new(s, Arc::clone(&m), Arc::clone(&r)), [INFO] [stdout] | ^ help: a local variable with a similar name exists: `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `records` in this scope [INFO] [stdout] --> src/server.rs:192:55 [INFO] [stdout] | [INFO] [stdout] 192 | "set" => store(args, &command[1], socket, records).context("Set command failed")?, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `records` in this scope [INFO] [stdout] --> src/server.rs:201:40 [INFO] [stdout] | [INFO] [stdout] 201 | "get" => get(args, socket, records).context("Get command failed")?, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/server.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{DateTime, TimeZone, Utc, [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/server.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{DateTime, TimeZone, Utc, [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/server.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | threadpool: ThreadPool::new(s, Arc::clone(&m), Arc::clone(&r)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `Arc<_, _>` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/server.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn new(s: usize, memory: Arc) -> ThreadPool { [INFO] [stdout] | ^^^ -------- -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/server.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | threadpool: ThreadPool::new(s, Arc::clone(&m), Arc::clone(&r)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `Arc<_, _>` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/server.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn new(s: usize, memory: Arc) -> ThreadPool { [INFO] [stdout] | ^^^ -------- -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | self.threadpool.execute(socket, process); [INFO] [stdout] | ------- ^^^^^^^ incorrect number of function parameters [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(TcpStream, Arc>>, Arc>>>) -> Result<_, _>` [INFO] [stdout] found fn item `fn(TcpStream, Arc) -> Result<_, _> {process}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/server.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn execute(&self, stream: TcpStream, f: fn(TcpStream, RecordList, RecordTable) -> Result<()>) [INFO] [stdout] | ^^^^^^^ ------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | self.threadpool.execute(socket, process); [INFO] [stdout] | ------- ^^^^^^^ incorrect number of function parameters [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(TcpStream, Arc>>, Arc>>>) -> Result<_, _>` [INFO] [stdout] found fn item `fn(TcpStream, Arc) -> Result<_, _> {process}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/server.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn execute(&self, stream: TcpStream, f: fn(TcpStream, RecordList, RecordTable) -> Result<()>) [INFO] [stdout] | ^^^^^^^ ------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | "set" => match records.lock().unwrap().insert((*args[1]).to_string(), [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | "set" => match records.lock().unwrap().insert((*args[1]).to_string(), [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:272:39 [INFO] [stdout] | [INFO] [stdout] 272 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:272:39 [INFO] [stdout] | [INFO] [stdout] 272 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:280:39 [INFO] [stdout] | [INFO] [stdout] 280 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:280:39 [INFO] [stdout] | [INFO] [stdout] 280 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:293:39 [INFO] [stdout] | [INFO] [stdout] 293 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:293:39 [INFO] [stdout] | [INFO] [stdout] 293 | let mut storage = records.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | match records.lock().unwrap().get(&*args[1]) { [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | match records.lock().unwrap().get(&*args[1]) { [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | records.lock().unwrap().remove(&*args[1]).context("Failed to remove expired data")?; [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let mut server = Server::new(5, port); [INFO] [stdout] | ^^^^^^^^^^^ ---- an argument of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/server.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(s: usize, max_size: usize, port: String) -> Server { [INFO] [stdout] | ^^^ -------- --------------- ------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let mut server = Server::new(5, /* usize */, port); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{DateTime, TimeZone, Utc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc` in the current scope [INFO] [stdout] --> src/server.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | records.lock().unwrap().remove(&*args[1]).context("Failed to remove expired data")?; [INFO] [stdout] | ^^^^ method not found in `Arc` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let mut server = Server::new(5, port); [INFO] [stdout] | ^^^^^^^^^^^ ---- an argument of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/server.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(s: usize, max_size: usize, port: String) -> Server { [INFO] [stdout] | ^^^ -------- --------------- ------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let mut server = Server::new(5, /* usize */, port); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/server.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{DateTime, TimeZone, Utc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `memcached-server` (bin "memcached-server") due to 17 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `memcached-server` (bin "memcached-server" test) due to 17 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8596e5372d73e46d1150037bcd3e3779058e2e04a67063854ea562569370603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8596e5372d73e46d1150037bcd3e3779058e2e04a67063854ea562569370603", kill_on_drop: false }` [INFO] [stdout] a8596e5372d73e46d1150037bcd3e3779058e2e04a67063854ea562569370603