[INFO] cloning repository https://github.com/rehwinkel/OliveScript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rehwinkel/OliveScript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2FOliveScript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2FOliveScript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35bb7019931b34398c48b76b22dfd7fa6d616539 [INFO] checking rehwinkel/OliveScript/35bb7019931b34398c48b76b22dfd7fa6d616539 against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2FOliveScript" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rehwinkel/OliveScript [INFO] finished tweaking git repo https://github.com/rehwinkel/OliveScript [INFO] tweaked toml for git repo https://github.com/rehwinkel/OliveScript written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rehwinkel/OliveScript on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rehwinkel/OliveScript 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.5 [INFO] [stderr] Downloaded lalrpop-util v0.19.0 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded indexmap v1.3.2 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded blake2b_simd v0.5.10 [INFO] [stderr] Downloaded rust-argon2 v0.7.0 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded mistake v0.1.1 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded sha2 v0.8.1 [INFO] [stderr] Downloaded petgraph v0.5.0 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded lalrpop v0.19.0 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded string_cache v0.8.0 [INFO] [stderr] Downloaded redox_users v0.3.4 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded libc v0.2.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 152707589c18b44f8683157d0d8eb1d3cc6ce7eec4f01ddc9f730d92c11e3ecc [INFO] running `Command { std: "docker" "start" "-a" "152707589c18b44f8683157d0d8eb1d3cc6ce7eec4f01ddc9f730d92c11e3ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "152707589c18b44f8683157d0d8eb1d3cc6ce7eec4f01ddc9f730d92c11e3ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152707589c18b44f8683157d0d8eb1d3cc6ce7eec4f01ddc9f730d92c11e3ecc", kill_on_drop: false }` [INFO] [stdout] 152707589c18b44f8683157d0d8eb1d3cc6ce7eec4f01ddc9f730d92c11e3ecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d1339fdc5594efffacdd278bc23da3f7d133af9185a52395a70c136d263cea2 [INFO] running `Command { std: "docker" "start" "-a" "2d1339fdc5594efffacdd278bc23da3f7d133af9185a52395a70c136d263cea2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking mistake v0.1.1 [INFO] [stderr] Compiling lalrpop-util v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.19.0 [INFO] [stderr] Compiling oliveparser v0.1.0 (/opt/rustwide/workdir/oliveparser) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> oliveparser/src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | source: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 13 | ) -> Result< [INFO] [stdout] 14 | Vec>>, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] 15 | lalrpop_util::ParseError, [INFO] [stdout] | -------------------------- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | lalrpop_util::ParseError, &'a str>, [INFO] [stdout] | ++++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> oliveparser/src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | source: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 13 | ) -> Result< [INFO] [stdout] 14 | Vec>>, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] 15 | lalrpop_util::ParseError, [INFO] [stdout] | -------------------------- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | lalrpop_util::ParseError, &'a str>, [INFO] [stdout] | ++++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking olivescript v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/interpreter/object.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | } => a1 == a2 && c1 == c2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 153 - } => a1 == a2 && c1 == c2, [INFO] [stdout] 153 + } => a1 == a2 && std::ptr::fn_addr_eq(*c1, *c2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/codegen.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Code` [INFO] [stdout] 8 | pub enum Code { [INFO] [stdout] | ---- `Code` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/interpreter/object.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | } => a1 == a2 && c1 == c2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 153 - } => a1 == a2 && c1 == c2, [INFO] [stdout] 153 + } => a1 == a2 && std::ptr::fn_addr_eq(*c1, *c2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2d1339fdc5594efffacdd278bc23da3f7d133af9185a52395a70c136d263cea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1339fdc5594efffacdd278bc23da3f7d133af9185a52395a70c136d263cea2", kill_on_drop: false }` [INFO] [stdout] 2d1339fdc5594efffacdd278bc23da3f7d133af9185a52395a70c136d263cea2