[INFO] crate fgen 0.1.0 is already in cache [INFO] checking fgen-0.1.0 against try#22dd2dd1dc07f63ae9394352d412f020d2985684 for pr-74627 [INFO] extracting crate fgen 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate fgen 0.1.0 on toolchain 22dd2dd1dc07f63ae9394352d412f020d2985684 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fgen 0.1.0 [INFO] finished tweaking crates.io crate fgen 0.1.0 [INFO] tweaked toml for crates.io crate fgen 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf9be5515d27feb70ff948c21c8f582b0f8d1a96ee0749804701da71add2bd1 [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" "ebf9be5515d27feb70ff948c21c8f582b0f8d1a96ee0749804701da71add2bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf9be5515d27feb70ff948c21c8f582b0f8d1a96ee0749804701da71add2bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf9be5515d27feb70ff948c21c8f582b0f8d1a96ee0749804701da71add2bd1", kill_on_drop: false }` [INFO] [stdout] ebf9be5515d27feb70ff948c21c8f582b0f8d1a96ee0749804701da71add2bd1 [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=forbid" "-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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee9d46f85af43d65e5b6995d092b65998d6465d8de39d25a7e3721e70ed1ba36 [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" "ee9d46f85af43d65e5b6995d092b65998d6465d8de39d25a7e3721e70ed1ba36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling fgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking error-chain v0.12.2 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | Fmt(::std::fmt::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | Fmt(::std::fmt::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | Fmt(::std::fmt::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | Fmt(::std::fmt::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | Fmt(::std::fmt::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | context.add("msg", &"Hello World!"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | context.add("msg", &"Hello World!"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | foreign_links { [INFO] [stdout] 4 | | Fmt(::std::fmt::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> tests/integration.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | let generated_path = project_path.cl [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 20 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `generator` [INFO] [stdout] --> tests/integration.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate generator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fgen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ee9d46f85af43d65e5b6995d092b65998d6465d8de39d25a7e3721e70ed1ba36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9d46f85af43d65e5b6995d092b65998d6465d8de39d25a7e3721e70ed1ba36", kill_on_drop: false }` [INFO] [stdout] ee9d46f85af43d65e5b6995d092b65998d6465d8de39d25a7e3721e70ed1ba36