[INFO] cloning repository https://github.com/Undin/features-2018-3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Undin/features-2018-3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUndin%2Ffeatures-2018-3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUndin%2Ffeatures-2018-3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 798fbdf8cf367be2670386ff2cf105f1a589876a [INFO] checking Undin/features-2018-3 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUndin%2Ffeatures-2018-3" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Undin/features-2018-3 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Undin/features-2018-3 [INFO] finished tweaking git repo https://github.com/Undin/features-2018-3 [INFO] tweaked toml for git repo https://github.com/Undin/features-2018-3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Undin/features-2018-3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cd7060a6d1fa17801605930299cc8f25200ca2e1d065d0544e10318770b3a26 [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" "4cd7060a6d1fa17801605930299cc8f25200ca2e1d065d0544e10318770b3a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cd7060a6d1fa17801605930299cc8f25200ca2e1d065d0544e10318770b3a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd7060a6d1fa17801605930299cc8f25200ca2e1d065d0544e10318770b3a26", kill_on_drop: false }` [INFO] [stdout] 4cd7060a6d1fa17801605930299cc8f25200ca2e1d065d0544e10318770b3a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4f384c4ffc5d1a7221daf8a2175df211111e7b731c416f8586277eafacf60c [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" "8b4f384c4ffc5d1a7221daf8a2175df211111e7b731c416f8586277eafacf60c", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Checking diesel v1.3.3 [INFO] [stderr] Checking features-2018-3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `weak` [INFO] [stdout] --> examples/debug_rc.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let weak = Rc::downgrade(&rc2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_weak` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weak2` [INFO] [stdout] --> examples/debug_rc.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let weak2 = Arc::downgrade(&arc2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_weak2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/debug_cell.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let y = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yy` [INFO] [stdout] --> examples/debug_cell.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let yy = 2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> examples/debug_cell.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let r = ref_cell.borrow(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diesel` [INFO] [stdout] --> examples/actions_and_intentions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::Connection; [INFO] [stdout] | ^^^^^^ maybe a missing crate `diesel`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `point::Point3D` [INFO] [stdout] --> examples/actions_and_intentions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use point::Point3D; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `point::Point2D` [INFO] [stdout] --> examples/actions_and_intentions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use point::Point2D; // Cmd+Alt+O to optimize imports. [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `user_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `post_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `favorited` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.3/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fact` [INFO] [stdout] --> examples/tests.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn fact(n: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/debug_vec.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut v = all_primes(10000); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/actions_and_intentions.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 13 | s.remove(0) [INFO] [stdout] | ^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `iter` on type `Vec` [INFO] [stdout] --> examples/actions_and_intentions.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | v.iter // Ctrl+Space -> select `iter` [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 19 | v.iter() // Ctrl+Space -> select `iter` [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `features-2018-3` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `read` found for struct `Stdin` in the current scope [INFO] [stdout] --> examples/inspections.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | stdin().read/*caret*/(&mut buf); // pres Alt + Enter to import `Read` trait [INFO] [stdout] | ^^^^ method not found in `Stdin` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b4f384c4ffc5d1a7221daf8a2175df211111e7b731c416f8586277eafacf60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4f384c4ffc5d1a7221daf8a2175df211111e7b731c416f8586277eafacf60c", kill_on_drop: false }` [INFO] [stdout] 8b4f384c4ffc5d1a7221daf8a2175df211111e7b731c416f8586277eafacf60c