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