[INFO] updating cached repository https://github.com/MordecaiMalignatus/RSass [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d63c7e6b9e992cd834365aec61dd72776e0f774 [INFO] testing MordecaiMalignatus/RSass against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordecaiMalignatus%2FRSass" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MordecaiMalignatus/RSass on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MordecaiMalignatus/RSass [INFO] finished tweaking git repo https://github.com/MordecaiMalignatus/RSass [INFO] tweaked toml for git repo https://github.com/MordecaiMalignatus/RSass written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/MordecaiMalignatus/RSass already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b95b335c488ab0d768a34d5126f0b6bd2d296fb85fb75c3b01b3c8912501c72 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b95b335c488ab0d768a34d5126f0b6bd2d296fb85fb75c3b01b3c8912501c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b95b335c488ab0d768a34d5126f0b6bd2d296fb85fb75c3b01b3c8912501c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b95b335c488ab0d768a34d5126f0b6bd2d296fb85fb75c3b01b3c8912501c72", kill_on_drop: false }` [INFO] [stdout] 8b95b335c488ab0d768a34d5126f0b6bd2d296fb85fb75c3b01b3c8912501c72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f12f8e77aeae192e9108a850be3804ebf9baff3c095983811c066516bfee818b [INFO] running `Command { std: "docker" "start" "-a" "f12f8e77aeae192e9108a850be3804ebf9baff3c095983811c066516bfee818b", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling boxfnonce v0.1.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling soup-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Compiling webkit2gtk-sys v0.10.0 [INFO] [stderr] Compiling quick-xml v0.18.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling javascriptcore-rs-sys v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling webview-sys v0.5.0 [INFO] [stderr] Compiling tinyfiledialogs v3.3.9 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling quick-xml v0.17.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling web-view v0.6.2 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling rusqlite v0.23.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling rss v1.9.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling rsass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `read_entry` [INFO] [stdout] --> src/rss.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn mark_as_read(read_entry: &Entry) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_connection` [INFO] [stdout] --> src/db.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_connection() -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_tables` [INFO] [stdout] --> src/db.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn create_tables(conn: &Connection) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_unread_entries` [INFO] [stdout] --> src/db.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn insert_unread_entries(conn: &Connection, items: Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_feeds` [INFO] [stdout] --> src/rss.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn load_feeds(feeds: Vec) -> Vec<(Feed, Channel)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_channels` [INFO] [stdout] --> src/rss.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | async fn read_channels(feeds: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `publication_date` [INFO] [stdout] --> src/rss.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn publication_date(item: &rss::Item) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_time` [INFO] [stdout] --> src/rss.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse_time(time: &str) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `import_opml` [INFO] [stdout] --> src/rss.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn import_opml(path: &Path) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `feedfile` [INFO] [stdout] --> src/utils.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn feedfile() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `db_path` [INFO] [stdout] --> src/utils.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn db_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_feeds` [INFO] [stdout] --> src/utils.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_feeds() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_feeds` [INFO] [stdout] --> src/utils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn write_feeds(feeds: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / conn.execute( [INFO] [stdout] 20 | | " [INFO] [stdout] 21 | | CREATE TABLE IF NOT EXISTS entries ( [INFO] [stdout] 22 | | title text, [INFO] [stdout] ... | [INFO] [stdout] 28 | | params![], [INFO] [stdout] 29 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / stmt.execute(params![ [INFO] [stdout] 39 | | entry.title, [INFO] [stdout] 40 | | entry.rss_entry.content(), [INFO] [stdout] 41 | | entry.rss_entry.guid().unwrap().value() [INFO] [stdout] 42 | | ]).map_err(|e|{eprintln!("Coulnd't insert entry into DB: {}\n{:#?}", e, entry)}); [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "f12f8e77aeae192e9108a850be3804ebf9baff3c095983811c066516bfee818b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12f8e77aeae192e9108a850be3804ebf9baff3c095983811c066516bfee818b", kill_on_drop: false }` [INFO] [stdout] f12f8e77aeae192e9108a850be3804ebf9baff3c095983811c066516bfee818b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 897038fe13b71f081cb4a1ccfd05776930ea8f16f701fe6880cfa9b6b297a98a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "897038fe13b71f081cb4a1ccfd05776930ea8f16f701fe6880cfa9b6b297a98a", 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 rsass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `read_entry` [INFO] [stdout] --> src/rss.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn mark_as_read(read_entry: &Entry) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_connection` [INFO] [stdout] --> src/db.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_connection() -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_tables` [INFO] [stdout] --> src/db.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn create_tables(conn: &Connection) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_unread_entries` [INFO] [stdout] --> src/db.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn insert_unread_entries(conn: &Connection, items: Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_feeds` [INFO] [stdout] --> src/rss.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn load_feeds(feeds: Vec) -> Vec<(Feed, Channel)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_channels` [INFO] [stdout] --> src/rss.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | async fn read_channels(feeds: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `publication_date` [INFO] [stdout] --> src/rss.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn publication_date(item: &rss::Item) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_time` [INFO] [stdout] --> src/rss.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse_time(time: &str) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `import_opml` [INFO] [stdout] --> src/rss.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn import_opml(path: &Path) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `feedfile` [INFO] [stdout] --> src/utils.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn feedfile() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `db_path` [INFO] [stdout] --> src/utils.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn db_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_feeds` [INFO] [stdout] --> src/utils.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_feeds() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_feeds` [INFO] [stdout] --> src/utils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn write_feeds(feeds: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / conn.execute( [INFO] [stdout] 20 | | " [INFO] [stdout] 21 | | CREATE TABLE IF NOT EXISTS entries ( [INFO] [stdout] 22 | | title text, [INFO] [stdout] ... | [INFO] [stdout] 28 | | params![], [INFO] [stdout] 29 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / stmt.execute(params![ [INFO] [stdout] 39 | | entry.title, [INFO] [stdout] 40 | | entry.rss_entry.content(), [INFO] [stdout] 41 | | entry.rss_entry.guid().unwrap().value() [INFO] [stdout] 42 | | ]).map_err(|e|{eprintln!("Coulnd't insert entry into DB: {}\n{:#?}", e, entry)}); [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "897038fe13b71f081cb4a1ccfd05776930ea8f16f701fe6880cfa9b6b297a98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "897038fe13b71f081cb4a1ccfd05776930ea8f16f701fe6880cfa9b6b297a98a", kill_on_drop: false }` [INFO] [stdout] 897038fe13b71f081cb4a1ccfd05776930ea8f16f701fe6880cfa9b6b297a98a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0fd9c4e03bd97d428752cc81d4fc7055b3a405a9e5a9f1e43b5ee2f46d1a7e7d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0fd9c4e03bd97d428752cc81d4fc7055b3a405a9e5a9f1e43b5ee2f46d1a7e7d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `read_entry` [INFO] [stderr] --> src/rss.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn mark_as_read(read_entry: &Entry) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_entry` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_connection` [INFO] [stderr] --> src/db.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn get_connection() -> Connection { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_tables` [INFO] [stderr] --> src/db.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn create_tables(conn: &Connection) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `insert_unread_entries` [INFO] [stderr] --> src/db.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn insert_unread_entries(conn: &Connection, items: Vec) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `load_feeds` [INFO] [stderr] --> src/rss.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn load_feeds(feeds: Vec) -> Vec<(Feed, Channel)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_channels` [INFO] [stderr] --> src/rss.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | async fn read_channels(feeds: &Vec) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `publication_date` [INFO] [stderr] --> src/rss.rs:95:4 [INFO] [stderr] | [INFO] [stderr] 95 | fn publication_date(item: &rss::Item) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_time` [INFO] [stderr] --> src/rss.rs:110:4 [INFO] [stderr] | [INFO] [stderr] 110 | fn parse_time(time: &str) -> DateTime { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `import_opml` [INFO] [stderr] --> src/rss.rs:133:8 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn import_opml(path: &Path) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `feedfile` [INFO] [stderr] --> src/utils.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn feedfile() -> PathBuf { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `db_path` [INFO] [stderr] --> src/utils.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn db_path() -> PathBuf { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_feeds` [INFO] [stderr] --> src/utils.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn read_feeds() -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_feeds` [INFO] [stderr] --> src/utils.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn write_feeds(feeds: Vec) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/db.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / conn.execute( [INFO] [stderr] 20 | | " [INFO] [stderr] 21 | | CREATE TABLE IF NOT EXISTS entries ( [INFO] [stderr] 22 | | title text, [INFO] [stderr] ... | [INFO] [stderr] 28 | | params![], [INFO] [stderr] 29 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/db.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | / stmt.execute(params![ [INFO] [stderr] 39 | | entry.title, [INFO] [stderr] 40 | | entry.rss_entry.content(), [INFO] [stderr] 41 | | entry.rss_entry.guid().unwrap().value() [INFO] [stderr] 42 | | ]).map_err(|e|{eprintln!("Coulnd't insert entry into DB: {}\n{:#?}", e, entry)}); [INFO] [stderr] | |_________________________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rsass-2f0573ff76437f35 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0fd9c4e03bd97d428752cc81d4fc7055b3a405a9e5a9f1e43b5ee2f46d1a7e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd9c4e03bd97d428752cc81d4fc7055b3a405a9e5a9f1e43b5ee2f46d1a7e7d", kill_on_drop: false }` [INFO] [stdout] 0fd9c4e03bd97d428752cc81d4fc7055b3a405a9e5a9f1e43b5ee2f46d1a7e7d