[INFO] cloning repository https://github.com/txstate-etc/d2l-sync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/txstate-etc/d2l-sync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxstate-etc%2Fd2l-sync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxstate-etc%2Fd2l-sync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51e65dd0471c7fbb56c64a4659fe9ff80e5dd921 [INFO] testing txstate-etc/d2l-sync against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxstate-etc%2Fd2l-sync" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/txstate-etc/d2l-sync on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/txstate-etc/d2l-sync [INFO] finished tweaking git repo https://github.com/txstate-etc/d2l-sync [INFO] tweaked toml for git repo https://github.com/txstate-etc/d2l-sync written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/txstate-etc/d2l-sync already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_urlencoded v0.5.3 [INFO] [stderr] Downloaded hyper-tls v0.3.0 [INFO] [stderr] Downloaded webpki v0.18.1 [INFO] [stderr] Downloaded hyper v0.12.10 [INFO] [stderr] Downloaded mysql_common v0.5.0 [INFO] [stderr] Downloaded sct v0.4.0 [INFO] [stderr] Downloaded atoi v0.2.3 [INFO] [stderr] Downloaded mysql v12.3.1 [INFO] [stderr] Downloaded named_pipe v0.3.0 [INFO] [stderr] Downloaded rustls v0.13.1 [INFO] [stderr] Downloaded syn v0.15.6 [INFO] [stderr] Downloaded serde_json v1.0.31 [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded encoding_rs v0.8.7 [INFO] [stderr] Downloaded tokio-current-thread v0.1.2 [INFO] [stderr] Downloaded tokio v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29b776140dace76dc39b3acdcb74ba3984182d1ee3e72c8beecd8335bfeee914 [INFO] running `Command { std: "docker" "start" "-a" "29b776140dace76dc39b3acdcb74ba3984182d1ee3e72c8beecd8335bfeee914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29b776140dace76dc39b3acdcb74ba3984182d1ee3e72c8beecd8335bfeee914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29b776140dace76dc39b3acdcb74ba3984182d1ee3e72c8beecd8335bfeee914", kill_on_drop: false }` [INFO] [stdout] 29b776140dace76dc39b3acdcb74ba3984182d1ee3e72c8beecd8335bfeee914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6696c941c8b470ad2f4e3f8994810e26ec7e9a6e5e81a259c88c7f6e92f4a1a1 [INFO] running `Command { std: "docker" "start" "-a" "6696c941c8b470ad2f4e3f8994810e26ec7e9a6e5e81a259c88c7f6e92f4a1a1", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.24 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling openssl v0.10.12 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling bufstream v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.36 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.7 [INFO] [stderr] Compiling twox-hash v1.1.1 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling atoi v0.2.3 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.9 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling tokio-threadpool v0.1.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.2 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling tokio v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling hyper v0.12.10 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.31 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling hyper-tls v0.3.0 [INFO] [stderr] Compiling mysql_common v0.5.0 [INFO] [stderr] Compiling reqwest v0.9.2 [INFO] [stderr] Compiling mysql v12.3.1 [INFO] [stderr] Compiling d2l-sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / /// SOURCE environment variable contains [INFO] [stdout] 76 | | /// the "warehouse" connection uri. [INFO] [stdout] 77 | | /// This database will be used to read [INFO] [stdout] 78 | | /// journal entries to find users that [INFO] [stdout] 79 | | /// need to be updated as well as pull [INFO] [stdout] 80 | | /// user information used to sync d2l [INFO] [stdout] 81 | | /// Example: "mysql://usr:pwd@host:port/database?options" [INFO] [stdout] | |_--------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sync.rs:45:63 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stdout] 45 + pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `err` [INFO] [stdout] --> src/schemas/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | err: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schemas/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!(format!("Error: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 101 - _ => panic!(format!("Error: {:?}", e)), [INFO] [stdout] 101 + _ => panic!("Error: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | Err(e) => panic!(format!("Error: Unable to retrieve Journal ID from source: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 211 - Err(e) => panic!(format!("Error: Unable to retrieve Journal ID from source: {:?}", e)), [INFO] [stdout] 211 + Err(e) => panic!("Error: Unable to retrieve Journal ID from source: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | panic!(format!("Error: unable to write out journal id {:?}", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 261 - panic!(format!("Error: unable to write out journal id {:?}", e)); [INFO] [stdout] 261 + panic!("Error: unable to write out journal id {:?}", e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.52s [INFO] running `Command { std: "docker" "inspect" "6696c941c8b470ad2f4e3f8994810e26ec7e9a6e5e81a259c88c7f6e92f4a1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6696c941c8b470ad2f4e3f8994810e26ec7e9a6e5e81a259c88c7f6e92f4a1a1", kill_on_drop: false }` [INFO] [stdout] 6696c941c8b470ad2f4e3f8994810e26ec7e9a6e5e81a259c88c7f6e92f4a1a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f35391ad91260adf35d67e600c26211cdfb2e48d45e06bd2d5a993ceaafebf55 [INFO] running `Command { std: "docker" "start" "-a" "f35391ad91260adf35d67e600c26211cdfb2e48d45e06bd2d5a993ceaafebf55", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling d2l-sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / /// SOURCE environment variable contains [INFO] [stdout] 76 | | /// the "warehouse" connection uri. [INFO] [stdout] 77 | | /// This database will be used to read [INFO] [stdout] 78 | | /// journal entries to find users that [INFO] [stdout] 79 | | /// need to be updated as well as pull [INFO] [stdout] 80 | | /// user information used to sync d2l [INFO] [stdout] 81 | | /// Example: "mysql://usr:pwd@host:port/database?options" [INFO] [stdout] | |_--------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sync.rs:45:63 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stdout] 45 + pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `err` [INFO] [stdout] --> src/schemas/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | err: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schemas/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!(format!("Error: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 101 - _ => panic!(format!("Error: {:?}", e)), [INFO] [stdout] 101 + _ => panic!("Error: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | Err(e) => panic!(format!("Error: Unable to retrieve Journal ID from source: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 211 - Err(e) => panic!(format!("Error: Unable to retrieve Journal ID from source: {:?}", e)), [INFO] [stdout] 211 + Err(e) => panic!("Error: Unable to retrieve Journal ID from source: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | panic!(format!("Error: unable to write out journal id {:?}", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 261 - panic!(format!("Error: unable to write out journal id {:?}", e)); [INFO] [stdout] 261 + panic!("Error: unable to write out journal id {:?}", e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "f35391ad91260adf35d67e600c26211cdfb2e48d45e06bd2d5a993ceaafebf55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f35391ad91260adf35d67e600c26211cdfb2e48d45e06bd2d5a993ceaafebf55", kill_on_drop: false }` [INFO] [stdout] f35391ad91260adf35d67e600c26211cdfb2e48d45e06bd2d5a993ceaafebf55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1cc1d802a36addfa2659601b1c18c9cbd90484672d85b2db5fc90bc373dddff [INFO] running `Command { std: "docker" "start" "-a" "c1cc1d802a36addfa2659601b1c18c9cbd90484672d85b2db5fc90bc373dddff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:75:1 [INFO] [stderr] | [INFO] [stderr] 75 | / /// SOURCE environment variable contains [INFO] [stderr] 76 | | /// the "warehouse" connection uri. [INFO] [stderr] 77 | | /// This database will be used to read [INFO] [stderr] 78 | | /// journal entries to find users that [INFO] [stderr] 79 | | /// need to be updated as well as pull [INFO] [stderr] 80 | | /// user information used to sync d2l [INFO] [stderr] 81 | | /// Example: "mysql://usr:pwd@host:port/database?options" [INFO] [stderr] | |_--------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/sync.rs:45:63 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 45 - pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stderr] 45 + pub fn read(&self, user_base: &UserBase) -> Result, SyncError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `err` [INFO] [stderr] --> src/schemas/mod.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | err: &'static str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/schemas/mod.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:101:25 [INFO] [stderr] | [INFO] [stderr] 101 | _ => panic!(format!("Error: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 101 - _ => panic!(format!("Error: {:?}", e)), [INFO] [stderr] 101 + _ => panic!("Error: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:211:42 [INFO] [stderr] | [INFO] [stderr] 211 | Err(e) => panic!(format!("Error: Unable to retrieve Journal ID from source: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 211 - Err(e) => panic!(format!("Error: Unable to retrieve Journal ID from source: {:?}", e)), [INFO] [stderr] 211 + Err(e) => panic!("Error: Unable to retrieve Journal ID from source: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:261:24 [INFO] [stderr] | [INFO] [stderr] 261 | panic!(format!("Error: unable to write out journal id {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 261 - panic!(format!("Error: unable to write out journal id {:?}", e)); [INFO] [stderr] 261 + panic!("Error: unable to write out journal id {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `d2l-sync` (bin "d2l-sync" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/d2l_sync-f6140dd032cec6e1) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test schemas::tests::test_create ... ok [INFO] [stdout] test schemas::tests::test_read ... ok [INFO] [stdout] test schemas::tests::test_update ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c1cc1d802a36addfa2659601b1c18c9cbd90484672d85b2db5fc90bc373dddff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1cc1d802a36addfa2659601b1c18c9cbd90484672d85b2db5fc90bc373dddff", kill_on_drop: false }` [INFO] [stdout] c1cc1d802a36addfa2659601b1c18c9cbd90484672d85b2db5fc90bc373dddff