[INFO] updating cached repository https://github.com/andreasots/motd-generator [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 77d8e0193e6d1ae0680a22f4b6e53020e3d1f046 [INFO] testing andreasots/motd-generator against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreasots%2Fmotd-generator" "work/builds/worker-10/source"` [INFO] [stderr] Cloning into 'work/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreasots/motd-generator on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/andreasots/motd-generator [INFO] finished tweaking git repo https://github.com/andreasots/motd-generator [INFO] tweaked toml for git repo https://github.com/andreasots/motd-generator written to work/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/andreasots/motd-generator already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 23c50434629bf5152af90400ac2d480b7d29aae07644c02d7a1921abc38a5c3a [INFO] running `"docker" "start" "-a" "23c50434629bf5152af90400ac2d480b7d29aae07644c02d7a1921abc38a5c3a"` [INFO] [stderr] Compiling pq-sys v0.2.7 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling prettytable-rs v0.6.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling diesel v0.7.1 [INFO] [stderr] Compiling diesel v0.6.2 [INFO] [stderr] Compiling diesel_full_text_search v0.5.2 [INFO] [stderr] Compiling motd-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/loadavg.rs:6:49 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn loadavg() -> Result<(f32, f32, f32), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/memory.rs:12:62 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn get_memory_stats(table: &mut Table) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/statfs.rs:14:68 [INFO] [stderr] | [INFO] [stderr] 14 | -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/quote.rs:71:42 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn get_quote() -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | .map_err(Box::::from) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:49:64 [INFO] [stderr] | [INFO] [stderr] 49 | std::str::from_utf8(&host[..]).map_err(Box::::from) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'rand::sample': renamed to seq::sample_iter [INFO] [stderr] --> src/quote.rs:80:11 [INFO] [stderr] | [INFO] [stderr] 80 | match rand::sample(&mut rand::thread_rng(), res, 1).get(0) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/main.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | .map(|host| host.trim_right_matches('\0')) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `quote::quotes::columns::quote: diesel::expression::Expression` is not satisfied [INFO] [stderr] --> src/quote.rs:76:56 [INFO] [stderr] | [INFO] [stderr] 76 | let res = try!(quotes.filter(deleted.eq(false).and(to_tsvector(quote) [INFO] [stderr] | ^^^^^^^^^^^ the trait `diesel::expression::Expression` is not implemented for `quote::quotes::columns::quote` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::expression::AsExpression` for `quote::quotes::columns::quote` [INFO] [stderr] = note: required by `diesel_full_text_search::to_tsvector` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `matches` found for type `diesel_full_text_search::to_tsvector_t` in the current scope [INFO] [stderr] --> src/quote.rs:77:61 [INFO] [stderr] | [INFO] [stderr] 77 | .matches(plainto_tsquery("butts")))) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `matches` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&diesel_full_text_search::to_tsvector_t : diesel_full_text_search::TsVectorExtensions` [INFO] [stderr] `&mut diesel_full_text_search::to_tsvector_t : diesel_full_text_search::TsVectorExtensions` [INFO] [stderr] `diesel_full_text_search::to_tsvector_t : diesel_full_text_search::TsVectorExtensions` [INFO] [stderr] [INFO] [stderr] warning: unused import: `TsVectorExtensions` [INFO] [stderr] --> src/quote.rs:72:65 [INFO] [stderr] | [INFO] [stderr] 72 | use diesel_full_text_search::{plainto_tsquery, to_tsvector, TsVectorExtensions}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `motd-generator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "23c50434629bf5152af90400ac2d480b7d29aae07644c02d7a1921abc38a5c3a"` [INFO] running `"docker" "rm" "-f" "23c50434629bf5152af90400ac2d480b7d29aae07644c02d7a1921abc38a5c3a"` [INFO] [stdout] 23c50434629bf5152af90400ac2d480b7d29aae07644c02d7a1921abc38a5c3a