[INFO] cloning repository https://github.com/datzero9/rustgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datzero9/rustgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatzero9%2Frustgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatzero9%2Frustgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0fc9089cd54da38348fb85039360927771af193 [INFO] checking datzero9/rustgen against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatzero9%2Frustgen" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/datzero9/rustgen on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/datzero9/rustgen [INFO] finished tweaking git repo https://github.com/datzero9/rustgen [INFO] tweaked toml for git repo https://github.com/datzero9/rustgen written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df1d6390b26673db28da8112aba740c728c875a54e943bd7e4255c7162f8d75b [INFO] running `Command { std: "docker" "start" "-a" "df1d6390b26673db28da8112aba740c728c875a54e943bd7e4255c7162f8d75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df1d6390b26673db28da8112aba740c728c875a54e943bd7e4255c7162f8d75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1d6390b26673db28da8112aba740c728c875a54e943bd7e4255c7162f8d75b", kill_on_drop: false }` [INFO] [stdout] df1d6390b26673db28da8112aba740c728c875a54e943bd7e4255c7162f8d75b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0e2dce37a8f5a3a02cd917e5275c45db090a807b69dfed13655873770d36c60 [INFO] running `Command { std: "docker" "start" "-a" "d0e2dce37a8f5a3a02cd917e5275c45db090a807b69dfed13655873770d36c60", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking graphql v0.1.0 (/opt/rustwide/workdir/graphql) [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> graphql/src/relational.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::fmt; [INFO] [stdout] | ^^^^^ help: a similar path exists: `std::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> graphql/src/relational.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::fmt; [INFO] [stdout] | ^^^^^ help: a similar path exists: `std::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> graphql/src/schema.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> graphql/src/relational.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(res, layout) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> graphql/src/schema.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut std::string::String` in the current scope [INFO] [stdout] --> graphql/src/relational.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | writeln!(out, "pub struct {} {{", self.name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::fmt::Write;` [INFO] [stdout] = note: this error originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut std::string::String` in the current scope [INFO] [stdout] --> graphql/src/relational.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | writeln!(out) [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::fmt::Write;` [INFO] [stdout] = note: this error originates in the macro `$crate::write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut std::string::String` in the current scope [INFO] [stdout] --> graphql/src/relational.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | writeln!(out, "pub struct {} {{", self.name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::fmt::Write;` [INFO] [stdout] = note: this error originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut std::string::String` in the current scope [INFO] [stdout] --> graphql/src/relational.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | writeln!(out) [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::fmt::Write;` [INFO] [stdout] = note: this error originates in the macro `$crate::write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graphql` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d0e2dce37a8f5a3a02cd917e5275c45db090a807b69dfed13655873770d36c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e2dce37a8f5a3a02cd917e5275c45db090a807b69dfed13655873770d36c60", kill_on_drop: false }` [INFO] [stdout] d0e2dce37a8f5a3a02cd917e5275c45db090a807b69dfed13655873770d36c60