[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 try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxstate-etc%2Fd2l-sync" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/txstate-etc/d2l-sync on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-49/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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 crypto-mac v0.6.2 [INFO] [stderr] Downloaded hmac v0.6.3 [INFO] [stderr] Downloaded sct v0.4.0 [INFO] [stderr] Downloaded webpki v0.18.1 [INFO] [stderr] Downloaded security-framework-sys v0.2.1 [INFO] [stderr] Downloaded serde_json v1.0.31 [INFO] [stderr] Downloaded bufstream v0.1.3 [INFO] [stderr] Downloaded hyper-tls v0.3.0 [INFO] [stderr] Downloaded reqwest v0.9.2 [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded nix v0.9.0 [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded security-framework v0.2.1 [INFO] [stderr] Downloaded native-tls v0.2.1 [INFO] [stderr] Downloaded hyper v0.12.10 [INFO] [stderr] Downloaded encoding_rs v0.8.7 [INFO] [stderr] Downloaded rustls v0.13.1 [INFO] [stderr] Downloaded mysql_common v0.5.0 [INFO] [stderr] Downloaded named_pipe v0.3.0 [INFO] [stderr] Downloaded serde_urlencoded v0.5.3 [INFO] [stderr] Downloaded syn v0.15.6 [INFO] [stderr] Downloaded libflate v0.1.18 [INFO] [stderr] Downloaded atoi v0.2.3 [INFO] [stderr] Downloaded tokio v0.1.9 [INFO] [stderr] Downloaded tokio-current-thread v0.1.2 [INFO] [stderr] Downloaded mysql v12.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b93c42fcb082bf24fecdfe3cce48189f9c7f6a074632047f862220ae65409a50 [INFO] running `Command { std: "docker" "start" "-a" "b93c42fcb082bf24fecdfe3cce48189f9c7f6a074632047f862220ae65409a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b93c42fcb082bf24fecdfe3cce48189f9c7f6a074632047f862220ae65409a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93c42fcb082bf24fecdfe3cce48189f9c7f6a074632047f862220ae65409a50", kill_on_drop: false }` [INFO] [stdout] b93c42fcb082bf24fecdfe3cce48189f9c7f6a074632047f862220ae65409a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49fef09c48e09cdd2a7faba2a03d7f4859d42cc0ff705e9f5080bdd764c609c1 [INFO] running `Command { std: "docker" "start" "-a" "49fef09c48e09cdd2a7faba2a03d7f4859d42cc0ff705e9f5080bdd764c609c1", 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] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling futures v0.1.24 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling openssl v0.10.12 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling bufstream v0.1.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.7 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling openssl-sys v0.9.36 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling twox-hash v1.1.1 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling atoi v0.2.3 [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 sha2 v0.7.1 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.2 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio v0.1.9 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.79 [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 v0.12.10 [INFO] [stderr] Compiling mysql_common v0.5.0 [INFO] [stderr] Compiling mysql v12.3.1 [INFO] [stderr] Compiling hyper-tls v0.3.0 [INFO] [stderr] Compiling reqwest v0.9.2 [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] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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!("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!("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!("Error: unable to write out journal id {:?}", e); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.68s [INFO] running `Command { std: "docker" "inspect" "49fef09c48e09cdd2a7faba2a03d7f4859d42cc0ff705e9f5080bdd764c609c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49fef09c48e09cdd2a7faba2a03d7f4859d42cc0ff705e9f5080bdd764c609c1", kill_on_drop: false }` [INFO] [stdout] 49fef09c48e09cdd2a7faba2a03d7f4859d42cc0ff705e9f5080bdd764c609c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d9201e01407c067a32505e94c1f174bf25bb1108b386990b8891f3e4bcc2c99 [INFO] running `Command { std: "docker" "start" "-a" "3d9201e01407c067a32505e94c1f174bf25bb1108b386990b8891f3e4bcc2c99", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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!("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!("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!("Error: unable to write out journal id {:?}", e); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.62s [INFO] running `Command { std: "docker" "inspect" "3d9201e01407c067a32505e94c1f174bf25bb1108b386990b8891f3e4bcc2c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9201e01407c067a32505e94c1f174bf25bb1108b386990b8891f3e4bcc2c99", kill_on_drop: false }` [INFO] [stdout] 3d9201e01407c067a32505e94c1f174bf25bb1108b386990b8891f3e4bcc2c99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 877d4e06825d403b69634ca0f984e62cc195323954ba614357be1ad7984726fc [INFO] running `Command { std: "docker" "start" "-a" "877d4e06825d403b69634ca0f984e62cc195323954ba614357be1ad7984726fc", 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] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [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!("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!("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!("Error: unable to write out journal id {:?}", e); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: `d2l-sync` (bin "d2l-sync" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.61s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/d2l_sync-0ed3f5e794fcfbc7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test schemas::tests::test_update ... ok [INFO] [stdout] test schemas::tests::test_read ... ok [INFO] [stdout] test schemas::tests::test_create ... 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" "877d4e06825d403b69634ca0f984e62cc195323954ba614357be1ad7984726fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877d4e06825d403b69634ca0f984e62cc195323954ba614357be1ad7984726fc", kill_on_drop: false }` [INFO] [stdout] 877d4e06825d403b69634ca0f984e62cc195323954ba614357be1ad7984726fc