[INFO] fetching crate hairy 0.4.0... [INFO] testing hairy-0.4.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hairy 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate hairy 0.4.0 [INFO] finished tweaking crates.io crate hairy 0.4.0 [INFO] tweaked toml for crates.io crate hairy 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hairy 0.4.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827b6f4771a63397a2d6fc1bfa100ee66a4599861149fbe0e4add96217b30bc2 [INFO] running `Command { std: "docker" "start" "-a" "827b6f4771a63397a2d6fc1bfa100ee66a4599861149fbe0e4add96217b30bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827b6f4771a63397a2d6fc1bfa100ee66a4599861149fbe0e4add96217b30bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827b6f4771a63397a2d6fc1bfa100ee66a4599861149fbe0e4add96217b30bc2", kill_on_drop: false }` [INFO] [stdout] 827b6f4771a63397a2d6fc1bfa100ee66a4599861149fbe0e4add96217b30bc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e2b427c2907d393bdb606e1ee09f8953c5cee3f2fb559af7977d1fb1621a79a [INFO] running `Command { std: "docker" "start" "-a" "3e2b427c2907d393bdb606e1ee09f8953c5cee3f2fb559af7977d1fb1621a79a", kill_on_drop: false }` [INFO] [stderr] Compiling expry v0.4.2 [INFO] [stderr] Compiling hairy v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:1125:29 [INFO] [stdout] | [INFO] [stdout] 1125 | ... let value = expry_eval_func(bytecode, &mut Vec::new(), context.allocator, context.static_custom).map_err(|err| parser.error_... [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `IL` declared on the function `expry_eval_func` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: expry::InputLookup<'_, EncodedValueRef<'_>>` [INFO] [stdout] help: the following types implement trait `expry::InputLookup<'a, This>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:1522:1 [INFO] [stdout] | [INFO] [stdout] 1522 | / impl<'a,A,B> InputLookup<'a,EitherInputLookup> for EitherInputLookup [INFO] [stdout] 1523 | | where A: InputLookup<'a,A> + 'a, [INFO] [stdout] 1524 | | B: InputLookup<'a,A> + 'a, [INFO] [stdout] | |________________________________^ `EitherInputLookup` implements `expry::InputLookup<'a, EitherInputLookup>` [INFO] [stdout] ... [INFO] [stdout] 1564 | impl<'a> InputLookup<'a,EncodedValueRef<'a>> for EncodedValueRef<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `EncodedValueRef<'a>` implements `expry::InputLookup<'a, EncodedValueRef<'a>>` [INFO] [stdout] note: required by a bound in `expry::expry_eval_func` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5542:35 [INFO] [stdout] | [INFO] [stdout] 5541 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut Me... [INFO] [stdout] | --------------- required by a bound in this function [INFO] [stdout] 5542 | where 'c: 'b, 'b: 'a, 'd: 'b, IL: InputLookup<'b,EncodedValueRef<'b>> + 'b [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `expry_eval_func` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 1125 | let value = expry_eval_func::(bytecode, &mut Vec::new(), context.allocator, context.static_custom).map_err(|err| parser.error_other(&info, HairyParserError::Eval(err)))?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1489:144 [INFO] [stdout] | [INFO] [stdout] 1489 | ... expry_to_type_lazy(&expry_decode_lazy(value)?)?))}).try_fold(Vec::new(), |mut acc,v:Result<_, EncodingError>| -> Result... [INFO] [stdout] | ----------------- ^^^^^ expected `EncodedValueRef<'_>`, found `&EncodedValueRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:1488:8 [INFO] [stdout] | [INFO] [stdout] 1488 | pub fn expry_decode_lazy<'a,'b>(reader: EncodedValueRef<'a>) -> Result, EncodingError> where 'a: 'b { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 1489 | dynamic_values_types: v.dynamic_values.iter().map(|(name,value)| -> Result<_,_> { Ok((*name, expry_to_type_lazy(&expry_decode_lazy(*value)?)?))}).try_fold(Vec::new(), |mut acc,v:Result<_, EncodingError>| -> Result,EncodingError> { acc.push(v?); Ok(acc) })?, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2382:48 [INFO] [stdout] | [INFO] [stdout] 2382 | let object = expry_eval_func(expr, &mut context.values, allocator, context.custom).map_err(|err| HairyError::wrap(Hair... [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>`, found `&mut Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec, _>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5541:8 [INFO] [stdout] | [INFO] [stdout] 5541 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut Me... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2394:53 [INFO] [stdout] | [INFO] [stdout] 2394 | let retval = expry_slice_func(expr, &mut context.values, allocator, context.custom).map_err(|err| HairyError::wrap... [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>`, found `&mut Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec, _>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5567:8 [INFO] [stdout] | [INFO] [stdout] 5567 | pub fn expry_slice_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &'a mu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2395:64 [INFO] [stdout] | [INFO] [stdout] 2395 | if LazyDecodedValue::Null == expry_decode_lazy(&retval)? { [INFO] [stdout] | ----------------- ^^^^^^^ expected `EncodedValueRef<'_>`, found `&EncodedValueRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:1488:8 [INFO] [stdout] | [INFO] [stdout] 1488 | pub fn expry_decode_lazy<'a,'b>(reader: EncodedValueRef<'a>) -> Result, EncodingError> where 'a: 'b { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 2395 - if LazyDecodedValue::Null == expry_decode_lazy(&retval)? { [INFO] [stdout] 2395 + if LazyDecodedValue::Null == expry_decode_lazy(retval)? { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2408:48 [INFO] [stdout] | [INFO] [stdout] 2408 | let retval = expry_eval_func(expr, &mut context.values, allocator, context.custom).map_err(|err| HairyError::wrap(Hair... [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>`, found `&mut Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec, _>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5541:8 [INFO] [stdout] | [INFO] [stdout] 5541 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut Me... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2429:49 [INFO] [stdout] | [INFO] [stdout] 2429 | let retval = expry_slice_func(expr, &mut context.values, allocator, context.custom).map_err(|err| HairyError::wrap(Hai... [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>`, found `&mut Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec, _>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5567:8 [INFO] [stdout] | [INFO] [stdout] 5567 | pub fn expry_slice_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &'a mu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:2430:51 [INFO] [stdout] | [INFO] [stdout] 2430 | let parsed = expry_decode_lazy(retval.get())?; [INFO] [stdout] | ^^^-- argument #1 of type `&mut expry::MemoryScope<'_>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:1510:8 [INFO] [stdout] | [INFO] [stdout] 1510 | fn get<'b,'c>(&mut self, scope: &mut MemoryScope<'c>) -> EncodedValueRef<'b> where 'c: 'b, 'a: 'b, 'c: 'a; [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2430 | let parsed = expry_decode_lazy(retval.get(/* &mut expry::MemoryScope<'_> */))?; [INFO] [stdout] | +++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2463:69 [INFO] [stdout] | [INFO] [stdout] 2463 | ... let name_value = expry_eval_func(BytecodeRef(name), &mut context.values, allocator, context.custom).map_err(|err| H... [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>`, found `&mut Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec, _>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5541:8 [INFO] [stdout] | [INFO] [stdout] 5541 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut Me... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2480:64 [INFO] [stdout] | [INFO] [stdout] 2480 | let value = expry_eval_func(BytecodeRef(name), &mut context.values, allocator, context.custom).map_err(|err| Hairy... [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>`, found `&mut Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec, _>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5541:8 [INFO] [stdout] | [INFO] [stdout] 5541 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut Me... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:2507:53 [INFO] [stdout] | [INFO] [stdout] 2507 | let retval = expry_slice_func(expr, &mut context.values, allocator, context.custom).map_err(|err| HairyError::wrap... [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>`, found `&mut Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec, _>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/expry-0.4.2/src/lib.rs:5567:8 [INFO] [stdout] | [INFO] [stdout] 5567 | pub fn expry_slice_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &'a mu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hairy` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3e2b427c2907d393bdb606e1ee09f8953c5cee3f2fb559af7977d1fb1621a79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e2b427c2907d393bdb606e1ee09f8953c5cee3f2fb559af7977d1fb1621a79a", kill_on_drop: false }` [INFO] [stdout] 3e2b427c2907d393bdb606e1ee09f8953c5cee3f2fb559af7977d1fb1621a79a