[INFO] fetching crate hairy 0.4.0...
[INFO] checking hairy-0.4.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930
[INFO] extracting crate hairy 0.4.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate hairy 0.4.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 931e56419bd5c4ba45517cd85ef42ed6bdbe69de6640fbe643bd511afa829239
[INFO] running `Command { std: "docker" "start" "-a" "931e56419bd5c4ba45517cd85ef42ed6bdbe69de6640fbe643bd511afa829239", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "931e56419bd5c4ba45517cd85ef42ed6bdbe69de6640fbe643bd511afa829239", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "931e56419bd5c4ba45517cd85ef42ed6bdbe69de6640fbe643bd511afa829239", kill_on_drop: false }`
[INFO] [stdout] 931e56419bd5c4ba45517cd85ef42ed6bdbe69de6640fbe643bd511afa829239
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7a4a12558dce1a6be4f1df40b8da31c8b76113b2ad8c41131caf3a38b387b34
[INFO] running `Command { std: "docker" "start" "-a" "e7a4a12558dce1a6be4f1df40b8da31c8b76113b2ad8c41131caf3a38b387b34", kill_on_drop: false }`
[INFO] [stderr] Checking expry v0.4.1
[INFO] [stderr] Compiling litrs v0.4.1
[INFO] [stderr] Checking 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_other(&...
[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] `EitherInputLookup` implements `expry::InputLookup<'a, EitherInputLookup>`
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5371:35
[INFO] [stdout] |
[INFO] [stdout] 5370 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut MemorySco...
[INFO] [stdout] | --------------- required by a bound in this function
[INFO] [stdout] 5371 | 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 | ...ame, expry_to_type_lazy(&expry_decode_lazy(value)?)?))}).try_fold(Vec::new(), |mut acc,v:Result<_, EncodingError>| -> Result,En...
[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-6f17d22bba15001f/expry-0.4.1/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(HairyEvalError::E...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5370:8
[INFO] [stdout] |
[INFO] [stdout] 5370 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut MemorySco...
[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(HairyEvalError::...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5396:8
[INFO] [stdout] |
[INFO] [stdout] 5396 | pub fn expry_slice_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &'a mut Memor...
[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-6f17d22bba15001f/expry-0.4.1/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(HairyEvalError::E...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5370:8
[INFO] [stdout] |
[INFO] [stdout] 5370 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut MemorySco...
[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(HairyEvalError::...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5396:8
[INFO] [stdout] |
[INFO] [stdout] 5396 | pub fn expry_slice_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &'a mut Memor...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:1508:8
[INFO] [stdout] |
[INFO] [stdout] 1508 | 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 | ...value = expry_eval_func(BytecodeRef(name), &mut context.values, allocator, context.custom).map_err(|err| HairyError::wrap(HairyEvalErr...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5370:8
[INFO] [stdout] |
[INFO] [stdout] 5370 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut MemorySco...
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> src/lib.rs:2480:64
[INFO] [stdout] |
[INFO] [stdout] 2480 | ...value = expry_eval_func(BytecodeRef(name), &mut context.values, allocator, context.custom).map_err(|err| HairyError::wrap(HairyEvalErr...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5370:8
[INFO] [stdout] |
[INFO] [stdout] 5370 | pub fn expry_eval_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &mut MemorySco...
[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(HairyEvalError::...
[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-6f17d22bba15001f/expry-0.4.1/src/lib.rs:5396:8
[INFO] [stdout] |
[INFO] [stdout] 5396 | pub fn expry_slice_func<'a,'b,'c,'d,IL>(bytecode: BytecodeRef<'b>, values: &mut Vec>, allocator: &'a mut Memor...
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 11 previous errors
[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 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "e7a4a12558dce1a6be4f1df40b8da31c8b76113b2ad8c41131caf3a38b387b34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7a4a12558dce1a6be4f1df40b8da31c8b76113b2ad8c41131caf3a38b387b34", kill_on_drop: false }`
[INFO] [stdout] e7a4a12558dce1a6be4f1df40b8da31c8b76113b2ad8c41131caf3a38b387b34