[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/798fbdf8cf367be2670386ff2cf105f1a589876a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUndin%2Ffeatures-2018-3" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Undin/features-2018-3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded quote v0.5.2 [INFO] [stderr] Downloaded diesel_derives v1.3.0 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded diesel v1.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a8cec5123ab06618de312fb62ec2c067b161ac28f7a1deb8ff5879aa97131fc [INFO] running `Command { std: "docker" "start" "-a" "5a8cec5123ab06618de312fb62ec2c067b161ac28f7a1deb8ff5879aa97131fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a8cec5123ab06618de312fb62ec2c067b161ac28f7a1deb8ff5879aa97131fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8cec5123ab06618de312fb62ec2c067b161ac28f7a1deb8ff5879aa97131fc", kill_on_drop: false }` [INFO] [stdout] 5a8cec5123ab06618de312fb62ec2c067b161ac28f7a1deb8ff5879aa97131fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6184e03df960663ba886a935a9135ea1ad351450066652526c8123a0bf4316e9 [INFO] running `Command { std: "docker" "start" "-a" "6184e03df960663ba886a935a9135ea1ad351450066652526c8123a0bf4316e9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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: function `fact` is never used [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: 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: `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: 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: 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:752:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Stdin` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/inspections.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | fn process<'a>(s: &'a str) { // Alt + Enter -> Elide lifetimes [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> examples/inspections.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let version = pkg.name; // Error annotation here [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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] | ^^^^^^ you might be missing crate `diesel` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `diesel` crate [INFO] [stdout] | [INFO] [stdout] 1 + extern crate diesel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `pkg.name` [INFO] [stdout] --> examples/inspections.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | consume(pkg.name); [INFO] [stdout] | -------- value moved here [INFO] [stdout] 22 | let version = pkg.name; // Error annotation here [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] = note: move occurs because `pkg.name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkg` [INFO] [stdout] --> examples/inspections.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn consume(pkg: String) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pkg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [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] [stderr] error: could not compile `features-2018-3` (example "inspections") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/actions_and_intentions.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | / if s.len() == 2 /*caret*/&& s.starts_with("x") { // Alt+Enter -> Split into 2 if's [INFO] [stdout] 13 | | s.remove(0) [INFO] [stdout] | | ^^^^^^^^^^^ expected `()`, found `char` [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 13 | s.remove(0); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 14 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `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] | ^^^^ unknown field [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, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: cannot find type `table` in this scope [INFO] [stdout] --> examples/macro_expansion.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / table! { [INFO] [stdout] 15 | | followings (user_id, post_id) { [INFO] [stdout] 16 | | user_id -> Integer, [INFO] [stdout] 17 | | post_id -> Integer, [INFO] [stdout] 18 | | favorited -> Bool, [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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 #83583 [INFO] [stdout] = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `user_id` in this scope [INFO] [stdout] --> examples/macro_expansion.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / table! { [INFO] [stdout] 15 | | followings (user_id, post_id) { [INFO] [stdout] 16 | | user_id -> Integer, [INFO] [stdout] 17 | | post_id -> Integer, [INFO] [stdout] 18 | | favorited -> Bool, [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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 #83583 [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `features-2018-3` (example "actions_and_intentions") due to 4 previous errors; 2 warnings emitted [INFO] [stdout] error: cannot find type `post_id` in this scope [INFO] [stdout] --> examples/macro_expansion.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / table! { [INFO] [stdout] 15 | | followings (user_id, post_id) { [INFO] [stdout] 16 | | user_id -> Integer, [INFO] [stdout] 17 | | post_id -> Integer, [INFO] [stdout] 18 | | favorited -> Bool, [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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 #83583 [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `favorited` in this scope [INFO] [stdout] --> examples/macro_expansion.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / table! { [INFO] [stdout] 15 | | followings (user_id, post_id) { [INFO] [stdout] 16 | | user_id -> Integer, [INFO] [stdout] 17 | | post_id -> Integer, [INFO] [stdout] 18 | | favorited -> Bool, [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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 #83583 [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `features-2018-3` (example "macro_expansion") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "6184e03df960663ba886a935a9135ea1ad351450066652526c8123a0bf4316e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6184e03df960663ba886a935a9135ea1ad351450066652526c8123a0bf4316e9", kill_on_drop: false }` [INFO] [stdout] 6184e03df960663ba886a935a9135ea1ad351450066652526c8123a0bf4316e9