[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 against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2FOliveScript" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rehwinkel/OliveScript on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.19.0 [INFO] [stderr] Downloaded mistake v0.1.1 [INFO] [stderr] Downloaded lalrpop v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de927ad991fdb46f6860c84ffd2dfe1ae04546777003788f9aae4d3909a1740f [INFO] running `Command { std: "docker" "start" "-a" "de927ad991fdb46f6860c84ffd2dfe1ae04546777003788f9aae4d3909a1740f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de927ad991fdb46f6860c84ffd2dfe1ae04546777003788f9aae4d3909a1740f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de927ad991fdb46f6860c84ffd2dfe1ae04546777003788f9aae4d3909a1740f", kill_on_drop: false }` [INFO] [stdout] de927ad991fdb46f6860c84ffd2dfe1ae04546777003788f9aae4d3909a1740f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 381b3a320b7392b999b92375251d100116ef4f6c609a7363089b6228e58f585d [INFO] running `Command { std: "docker" "start" "-a" "381b3a320b7392b999b92375251d100116ef4f6c609a7363089b6228e58f585d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [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 serde v1.0.110 [INFO] [stderr] Compiling typenum v1.12.0 [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 regex-syntax v0.6.17 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking mistake v0.1.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking lalrpop-util v0.19.0 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.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] [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: 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: 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 54.23s [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" "381b3a320b7392b999b92375251d100116ef4f6c609a7363089b6228e58f585d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381b3a320b7392b999b92375251d100116ef4f6c609a7363089b6228e58f585d", kill_on_drop: false }` [INFO] [stdout] 381b3a320b7392b999b92375251d100116ef4f6c609a7363089b6228e58f585d