[INFO] cloning repository https://github.com/pitust/sasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pitust/sasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitust%2Fsasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitust%2Fsasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ca6f087e719619a8ce95533dccc4d5f25298129 [INFO] checking pitust/sasm/1ca6f087e719619a8ce95533dccc4d5f25298129 against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitust%2Fsasm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pitust/sasm on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pitust/sasm [INFO] finished tweaking git repo https://github.com/pitust/sasm [INFO] tweaked toml for git repo https://github.com/pitust/sasm written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pitust/sasm 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dtoa v0.4.7 [INFO] [stderr] Downloaded once_cell v1.7.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 868d742e0f47b251012aced140d7ea5fe909beda89ba9428fb363486a2419d72 [INFO] running `Command { std: "docker" "start" "-a" "868d742e0f47b251012aced140d7ea5fe909beda89ba9428fb363486a2419d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "868d742e0f47b251012aced140d7ea5fe909beda89ba9428fb363486a2419d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868d742e0f47b251012aced140d7ea5fe909beda89ba9428fb363486a2419d72", kill_on_drop: false }` [INFO] [stdout] 868d742e0f47b251012aced140d7ea5fe909beda89ba9428fb363486a2419d72 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0c93cbc5e4a5a38d4447f3b1d7ec3afa966715a65ee2d3b266c5d506def9f76 [INFO] running `Command { std: "docker" "start" "-a" "c0c93cbc5e4a5a38d4447f3b1d7ec3afa966715a65ee2d3b266c5d506def9f76", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking sasm v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | return (box move |_a| p.clone(), l, HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 60 | return (Box::new(move |_a| p.clone()), l, HashMap::new()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | return (box move |_a| p.clone(), l, HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 60 | return (Box::new(move |_a| p.clone()), l, HashMap::new()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | / box move |a| { [INFO] [stdout] 89 | | let mut r = r.0(a); [INFO] [stdout] 90 | | let l = l.0(a); [INFO] [stdout] 91 | | for k in l { [INFO] [stdout] ... | [INFO] [stdout] 94 | | return r; [INFO] [stdout] 95 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 88 ~ Box::new(move |a| { [INFO] [stdout] 89 + let mut r = r.0(a); [INFO] [stdout] 90 + let l = l.0(a); [INFO] [stdout] 91 + for k in l { [INFO] [stdout] 92 + r.push(k); [INFO] [stdout] 93 + } [INFO] [stdout] 94 + return r; [INFO] [stdout] 95 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:313:31 [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), box Expr::Current), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(Box::new(Expr::Number(0)), box Expr::Current), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | / box move |a| { [INFO] [stdout] 89 | | let mut r = r.0(a); [INFO] [stdout] 90 | | let l = l.0(a); [INFO] [stdout] 91 | | for k in l { [INFO] [stdout] ... | [INFO] [stdout] 94 | | return r; [INFO] [stdout] 95 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 88 ~ Box::new(move |a| { [INFO] [stdout] 89 + let mut r = r.0(a); [INFO] [stdout] 90 + let l = l.0(a); [INFO] [stdout] 91 + for k in l { [INFO] [stdout] 92 + r.push(k); [INFO] [stdout] 93 + } [INFO] [stdout] 94 + return r; [INFO] [stdout] 95 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:313:52 [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), box Expr::Current), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), Box::new(Expr::Current)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), box Expr::Current), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 313 | Box::new(Expr::Sub(box Expr::Number(0), box Expr::Current)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:313:31 [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), box Expr::Current), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(Box::new(Expr::Number(0)), box Expr::Current), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | box Expr::Label(format!("{}@got", id)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 314 | Box::new(Expr::Label(format!("{}@got", id))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:313:52 [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), box Expr::Current), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), Box::new(Expr::Current)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | box Expr::Sub(box Expr::Number(0), box Expr::Current), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 313 | Box::new(Expr::Sub(box Expr::Number(0), box Expr::Current)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:415:58 [INFO] [stdout] | [INFO] [stdout] 415 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 415 | Some(expr) => Some(Expr::Mul(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | box Expr::Label(format!("{}@got", id)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 314 | Box::new(Expr::Label(format!("{}@got", id))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:415:68 [INFO] [stdout] | [INFO] [stdout] 415 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 415 | Some(expr) => Some(Expr::Mul(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:415:58 [INFO] [stdout] | [INFO] [stdout] 415 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 415 | Some(expr) => Some(Expr::Mul(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:415:68 [INFO] [stdout] | [INFO] [stdout] 415 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 415 | Some(expr) => Some(Expr::Mul(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:425:58 [INFO] [stdout] | [INFO] [stdout] 425 | ... Some(expr) => Some(Expr::Div(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 425 | Some(expr) => Some(Expr::Div(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:425:58 [INFO] [stdout] | [INFO] [stdout] 425 | ... Some(expr) => Some(Expr::Div(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 425 | Some(expr) => Some(Expr::Div(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:425:68 [INFO] [stdout] | [INFO] [stdout] 425 | ... Some(expr) => Some(Expr::Div(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 425 | Some(expr) => Some(Expr::Div(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:425:68 [INFO] [stdout] | [INFO] [stdout] 425 | ... Some(expr) => Some(Expr::Div(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 425 | Some(expr) => Some(Expr::Div(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:435:58 [INFO] [stdout] | [INFO] [stdout] 435 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 435 | Some(expr) => Some(Expr::Xor(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:435:58 [INFO] [stdout] | [INFO] [stdout] 435 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 435 | Some(expr) => Some(Expr::Xor(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:435:68 [INFO] [stdout] | [INFO] [stdout] 435 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 435 | Some(expr) => Some(Expr::Xor(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:435:68 [INFO] [stdout] | [INFO] [stdout] 435 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 435 | Some(expr) => Some(Expr::Xor(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:445:57 [INFO] [stdout] | [INFO] [stdout] 445 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 445 | Some(expr) => Some(Expr::Or(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:445:57 [INFO] [stdout] | [INFO] [stdout] 445 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 445 | Some(expr) => Some(Expr::Or(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:445:67 [INFO] [stdout] | [INFO] [stdout] 445 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 445 | Some(expr) => Some(Expr::Or(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:445:67 [INFO] [stdout] | [INFO] [stdout] 445 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 445 | Some(expr) => Some(Expr::Or(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:455:58 [INFO] [stdout] | [INFO] [stdout] 455 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 455 | Some(expr) => Some(Expr::And(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:455:58 [INFO] [stdout] | [INFO] [stdout] 455 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 455 | Some(expr) => Some(Expr::And(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:455:68 [INFO] [stdout] | [INFO] [stdout] 455 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 455 | Some(expr) => Some(Expr::And(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:455:68 [INFO] [stdout] | [INFO] [stdout] 455 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 455 | Some(expr) => Some(Expr::And(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:465:58 [INFO] [stdout] | [INFO] [stdout] 465 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 465 | Some(expr) => Some(Expr::Shl(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:465:58 [INFO] [stdout] | [INFO] [stdout] 465 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 465 | Some(expr) => Some(Expr::Shl(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:465:68 [INFO] [stdout] | [INFO] [stdout] 465 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 465 | Some(expr) => Some(Expr::Shl(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:465:68 [INFO] [stdout] | [INFO] [stdout] 465 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 465 | Some(expr) => Some(Expr::Shl(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:478:58 [INFO] [stdout] | [INFO] [stdout] 478 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 478 | Some(expr) => Some(Expr::Shr(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:478:58 [INFO] [stdout] | [INFO] [stdout] 478 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 478 | Some(expr) => Some(Expr::Shr(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:478:68 [INFO] [stdout] | [INFO] [stdout] 478 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 478 | Some(expr) => Some(Expr::Shr(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:478:68 [INFO] [stdout] | [INFO] [stdout] 478 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 478 | Some(expr) => Some(Expr::Shr(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:491:58 [INFO] [stdout] | [INFO] [stdout] 491 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 491 | Some(expr) => Some(Expr::Add(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:491:58 [INFO] [stdout] | [INFO] [stdout] 491 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 491 | Some(expr) => Some(Expr::Add(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:491:68 [INFO] [stdout] | [INFO] [stdout] 491 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 491 | Some(expr) => Some(Expr::Add(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:498:58 [INFO] [stdout] | [INFO] [stdout] 498 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 498 | Some(expr) => Some(Expr::Sub(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:491:68 [INFO] [stdout] | [INFO] [stdout] 491 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 491 | Some(expr) => Some(Expr::Add(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:498:68 [INFO] [stdout] | [INFO] [stdout] 498 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 498 | Some(expr) => Some(Expr::Sub(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:498:58 [INFO] [stdout] | [INFO] [stdout] 498 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 498 | Some(expr) => Some(Expr::Sub(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:584:58 [INFO] [stdout] | [INFO] [stdout] 584 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 584 | Some(expr) => Some(Expr::Mul(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:498:68 [INFO] [stdout] | [INFO] [stdout] 498 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 498 | Some(expr) => Some(Expr::Sub(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:584:68 [INFO] [stdout] | [INFO] [stdout] 584 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 584 | Some(expr) => Some(Expr::Mul(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:584:58 [INFO] [stdout] | [INFO] [stdout] 584 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 584 | Some(expr) => Some(Expr::Mul(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:597:58 [INFO] [stdout] | [INFO] [stdout] 597 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 597 | Some(expr) => Some(Expr::Mul(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:584:68 [INFO] [stdout] | [INFO] [stdout] 584 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 584 | Some(expr) => Some(Expr::Mul(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:597:68 [INFO] [stdout] | [INFO] [stdout] 597 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 597 | Some(expr) => Some(Expr::Mul(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:597:58 [INFO] [stdout] | [INFO] [stdout] 597 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 597 | Some(expr) => Some(Expr::Mul(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:607:58 [INFO] [stdout] | [INFO] [stdout] 607 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 607 | Some(expr) => Some(Expr::And(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:597:68 [INFO] [stdout] | [INFO] [stdout] 597 | ... Some(expr) => Some(Expr::Mul(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 597 | Some(expr) => Some(Expr::Mul(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:607:68 [INFO] [stdout] | [INFO] [stdout] 607 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 607 | Some(expr) => Some(Expr::And(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:607:58 [INFO] [stdout] | [INFO] [stdout] 607 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 607 | Some(expr) => Some(Expr::And(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:617:57 [INFO] [stdout] | [INFO] [stdout] 617 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 617 | Some(expr) => Some(Expr::Or(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:617:67 [INFO] [stdout] | [INFO] [stdout] 617 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 617 | Some(expr) => Some(Expr::Or(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:607:68 [INFO] [stdout] | [INFO] [stdout] 607 | ... Some(expr) => Some(Expr::And(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 607 | Some(expr) => Some(Expr::And(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:627:58 [INFO] [stdout] | [INFO] [stdout] 627 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 627 | Some(expr) => Some(Expr::Xor(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:617:57 [INFO] [stdout] | [INFO] [stdout] 617 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 617 | Some(expr) => Some(Expr::Or(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:627:68 [INFO] [stdout] | [INFO] [stdout] 627 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 627 | Some(expr) => Some(Expr::Xor(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:617:67 [INFO] [stdout] | [INFO] [stdout] 617 | ... Some(expr) => Some(Expr::Or(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 617 | Some(expr) => Some(Expr::Or(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:637:58 [INFO] [stdout] | [INFO] [stdout] 637 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 637 | Some(expr) => Some(Expr::Shr(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:627:58 [INFO] [stdout] | [INFO] [stdout] 627 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 627 | Some(expr) => Some(Expr::Xor(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:637:68 [INFO] [stdout] | [INFO] [stdout] 637 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 637 | Some(expr) => Some(Expr::Shr(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:650:58 [INFO] [stdout] | [INFO] [stdout] 650 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 650 | Some(expr) => Some(Expr::Shl(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:627:68 [INFO] [stdout] | [INFO] [stdout] 627 | ... Some(expr) => Some(Expr::Xor(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 627 | Some(expr) => Some(Expr::Xor(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:650:68 [INFO] [stdout] | [INFO] [stdout] 650 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 650 | Some(expr) => Some(Expr::Shl(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:637:58 [INFO] [stdout] | [INFO] [stdout] 637 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 637 | Some(expr) => Some(Expr::Shr(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:663:58 [INFO] [stdout] | [INFO] [stdout] 663 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 663 | Some(expr) => Some(Expr::Add(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:637:68 [INFO] [stdout] | [INFO] [stdout] 637 | ... Some(expr) => Some(Expr::Shr(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 637 | Some(expr) => Some(Expr::Shr(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:663:68 [INFO] [stdout] | [INFO] [stdout] 663 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 663 | Some(expr) => Some(Expr::Add(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:650:58 [INFO] [stdout] | [INFO] [stdout] 650 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 650 | Some(expr) => Some(Expr::Shl(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:670:58 [INFO] [stdout] | [INFO] [stdout] 670 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 670 | Some(expr) => Some(Expr::Sub(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:650:68 [INFO] [stdout] | [INFO] [stdout] 650 | ... Some(expr) => Some(Expr::Shl(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 650 | Some(expr) => Some(Expr::Shl(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:670:68 [INFO] [stdout] | [INFO] [stdout] 670 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 670 | Some(expr) => Some(Expr::Sub(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:663:58 [INFO] [stdout] | [INFO] [stdout] 663 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 663 | Some(expr) => Some(Expr::Add(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:663:68 [INFO] [stdout] | [INFO] [stdout] 663 | ... Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 663 | Some(expr) => Some(Expr::Add(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:688:54 [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:670:58 [INFO] [stdout] | [INFO] [stdout] 670 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 670 | Some(expr) => Some(Expr::Sub(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:688:64 [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:670:68 [INFO] [stdout] | [INFO] [stdout] 670 | ... Some(expr) => Some(Expr::Sub(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 670 | Some(expr) => Some(Expr::Sub(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:688:54 [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(Box::new(expr), box e)), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | / box Expr::Number(STRYNGZ.with(|a| { [INFO] [stdout] 734 | | let mut b = a.borrow_mut(); [INFO] [stdout] 735 | | let l = b.len(); [INFO] [stdout] 736 | | for c in s.bytes() { [INFO] [stdout] ... | [INFO] [stdout] 739 | | l [INFO] [stdout] 740 | | }) as isize), [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 733 ~ Box::new(Expr::Number(STRYNGZ.with(|a| { [INFO] [stdout] 734 + let mut b = a.borrow_mut(); [INFO] [stdout] 735 + let l = b.len(); [INFO] [stdout] 736 + for c in s.bytes() { [INFO] [stdout] 737 + b.push(c); [INFO] [stdout] 738 + } [INFO] [stdout] 739 + l [INFO] [stdout] 740 ~ }) as isize)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:688:64 [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(box expr, box e)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 688 | Some(expr) => Some(Expr::Add(box expr, Box::new(e))), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | box Expr::Label(format!("_stryngz")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 741 | Box::new(Expr::Label(format!("_stryngz"))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | / box Expr::Number(STRYNGZ.with(|a| { [INFO] [stdout] 734 | | let mut b = a.borrow_mut(); [INFO] [stdout] 735 | | let l = b.len(); [INFO] [stdout] 736 | | for c in s.bytes() { [INFO] [stdout] ... | [INFO] [stdout] 739 | | l [INFO] [stdout] 740 | | }) as isize), [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 733 ~ Box::new(Expr::Number(STRYNGZ.with(|a| { [INFO] [stdout] 734 + let mut b = a.borrow_mut(); [INFO] [stdout] 735 + let l = b.len(); [INFO] [stdout] 736 + for c in s.bytes() { [INFO] [stdout] 737 + b.push(c); [INFO] [stdout] 738 + } [INFO] [stdout] 739 + l [INFO] [stdout] 740 ~ }) as isize)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | box Expr::Label(format!("_stryngz")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 741 | Box::new(Expr::Label(format!("_stryngz"))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | / box move |hm| { [INFO] [stdout] 834 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 835 | | &[0], [INFO] [stdout] 836 | | &((recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 846 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 847 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 833 ~ Box::new(move |hm| { [INFO] [stdout] 834 + let p: [&[u8]; 2] = [ [INFO] [stdout] 835 + &[0], [INFO] [stdout] 836 + &((recurse_expand( [INFO] [stdout] 837 + what.clone(), [INFO] [stdout] 838 + hm, [INFO] [stdout] 839 + match hm.get(&temp_sym) { [INFO] [stdout] 840 + Some(a) => *a, [INFO] [stdout] 841 + None => 0, [INFO] [stdout] 842 + } as isize, [INFO] [stdout] 843 + ) as isize) as u32) [INFO] [stdout] 844 + .to_le_bytes(), [INFO] [stdout] 845 + ]; [INFO] [stdout] 846 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 847 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | / box move |hm| { [INFO] [stdout] 856 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 857 | | &[0x03], [INFO] [stdout] 858 | | &(recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 868 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 869 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 855 ~ Box::new(move |hm| { [INFO] [stdout] 856 + let p: [&[u8]; 2] = [ [INFO] [stdout] 857 + &[0x03], [INFO] [stdout] 858 + &(recurse_expand( [INFO] [stdout] 859 + what.clone(), [INFO] [stdout] 860 + hm, [INFO] [stdout] 861 + match hm.get(&temp_sym) { [INFO] [stdout] 862 + Some(a) => *a, [INFO] [stdout] 863 + None => 0, [INFO] [stdout] 864 + } as isize, [INFO] [stdout] 865 + ) as u32) [INFO] [stdout] 866 + .to_le_bytes(), [INFO] [stdout] 867 + ]; [INFO] [stdout] 868 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 869 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | / box move |hm| { [INFO] [stdout] 834 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 835 | | &[0], [INFO] [stdout] 836 | | &((recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 846 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 847 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 833 ~ Box::new(move |hm| { [INFO] [stdout] 834 + let p: [&[u8]; 2] = [ [INFO] [stdout] 835 + &[0], [INFO] [stdout] 836 + &((recurse_expand( [INFO] [stdout] 837 + what.clone(), [INFO] [stdout] 838 + hm, [INFO] [stdout] 839 + match hm.get(&temp_sym) { [INFO] [stdout] 840 + Some(a) => *a, [INFO] [stdout] 841 + None => 0, [INFO] [stdout] 842 + } as isize, [INFO] [stdout] 843 + ) as isize) as u32) [INFO] [stdout] 844 + .to_le_bytes(), [INFO] [stdout] 845 + ]; [INFO] [stdout] 846 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 847 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:877:17 [INFO] [stdout] | [INFO] [stdout] 877 | / box move |hm| { [INFO] [stdout] 878 | | let num = recurse_expand( [INFO] [stdout] 879 | | what.clone(), [INFO] [stdout] 880 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 889 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 890 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 877 ~ Box::new(move |hm| { [INFO] [stdout] 878 + let num = recurse_expand( [INFO] [stdout] 879 + what.clone(), [INFO] [stdout] 880 + hm, [INFO] [stdout] 881 + match hm.get(&temp_sym) { [INFO] [stdout] 882 + Some(a) => *a, [INFO] [stdout] 883 + None => 0, [INFO] [stdout] 884 + } as isize, [INFO] [stdout] 885 + ); [INFO] [stdout] 886 + let leb = (num.abs() as u32).to_le_bytes(); [INFO] [stdout] 887 + let ono = if num < 0 { 3 } else { 0 }; [INFO] [stdout] 888 + let p: [&[u8]; 2] = [&[0x23 + ono, r.to_id()], &leb.split_at(3).0]; [INFO] [stdout] 889 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 890 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | / box move |hm| { [INFO] [stdout] 856 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 857 | | &[0x03], [INFO] [stdout] 858 | | &(recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 868 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 869 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 855 ~ Box::new(move |hm| { [INFO] [stdout] 856 + let p: [&[u8]; 2] = [ [INFO] [stdout] 857 + &[0x03], [INFO] [stdout] 858 + &(recurse_expand( [INFO] [stdout] 859 + what.clone(), [INFO] [stdout] 860 + hm, [INFO] [stdout] 861 + match hm.get(&temp_sym) { [INFO] [stdout] 862 + Some(a) => *a, [INFO] [stdout] 863 + None => 0, [INFO] [stdout] 864 + } as isize, [INFO] [stdout] 865 + ) as u32) [INFO] [stdout] 866 + .to_le_bytes(), [INFO] [stdout] 867 + ]; [INFO] [stdout] 868 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 869 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:897:17 [INFO] [stdout] | [INFO] [stdout] 897 | / box move |_hm| { [INFO] [stdout] 898 | | let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 899 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 900 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 897 ~ Box::new(move |_hm| { [INFO] [stdout] 898 + let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 899 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 900 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:877:17 [INFO] [stdout] | [INFO] [stdout] 877 | / box move |hm| { [INFO] [stdout] 878 | | let num = recurse_expand( [INFO] [stdout] 879 | | what.clone(), [INFO] [stdout] 880 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 889 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 890 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 877 ~ Box::new(move |hm| { [INFO] [stdout] 878 + let num = recurse_expand( [INFO] [stdout] 879 + what.clone(), [INFO] [stdout] 880 + hm, [INFO] [stdout] 881 + match hm.get(&temp_sym) { [INFO] [stdout] 882 + Some(a) => *a, [INFO] [stdout] 883 + None => 0, [INFO] [stdout] 884 + } as isize, [INFO] [stdout] 885 + ); [INFO] [stdout] 886 + let leb = (num.abs() as u32).to_le_bytes(); [INFO] [stdout] 887 + let ono = if num < 0 { 3 } else { 0 }; [INFO] [stdout] 888 + let p: [&[u8]; 2] = [&[0x23 + ono, r.to_id()], &leb.split_at(3).0]; [INFO] [stdout] 889 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 890 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | / box move |hm| { [INFO] [stdout] 914 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 915 | | &[0x02], [INFO] [stdout] 916 | | &(recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 926 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 927 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 913 ~ Box::new(move |hm| { [INFO] [stdout] 914 + let p: [&[u8]; 2] = [ [INFO] [stdout] 915 + &[0x02], [INFO] [stdout] 916 + &(recurse_expand( [INFO] [stdout] 917 + what.clone(), [INFO] [stdout] 918 + hm, [INFO] [stdout] 919 + match hm.get(&temp_sym) { [INFO] [stdout] 920 + Some(a) => *a, [INFO] [stdout] 921 + None => 0, [INFO] [stdout] 922 + } as isize, [INFO] [stdout] 923 + ) as u32) [INFO] [stdout] 924 + .to_le_bytes(), [INFO] [stdout] 925 + ]; [INFO] [stdout] 926 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 927 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:897:17 [INFO] [stdout] | [INFO] [stdout] 897 | / box move |_hm| { [INFO] [stdout] 898 | | let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 899 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 900 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 897 ~ Box::new(move |_hm| { [INFO] [stdout] 898 + let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 899 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 900 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | / box move |hm| { [INFO] [stdout] 936 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 937 | | &[0x01], [INFO] [stdout] 938 | | &(recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 948 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 949 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 935 ~ Box::new(move |hm| { [INFO] [stdout] 936 + let p: [&[u8]; 2] = [ [INFO] [stdout] 937 + &[0x01], [INFO] [stdout] 938 + &(recurse_expand( [INFO] [stdout] 939 + what.clone(), [INFO] [stdout] 940 + hm, [INFO] [stdout] 941 + match hm.get(&temp_sym) { [INFO] [stdout] 942 + Some(a) => *a, [INFO] [stdout] 943 + None => 0, [INFO] [stdout] 944 + } as isize, [INFO] [stdout] 945 + ) as u32) [INFO] [stdout] 946 + .to_le_bytes(), [INFO] [stdout] 947 + ]; [INFO] [stdout] 948 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 949 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | / box move |hm| { [INFO] [stdout] 914 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 915 | | &[0x02], [INFO] [stdout] 916 | | &(recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 926 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 927 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 913 ~ Box::new(move |hm| { [INFO] [stdout] 914 + let p: [&[u8]; 2] = [ [INFO] [stdout] 915 + &[0x02], [INFO] [stdout] 916 + &(recurse_expand( [INFO] [stdout] 917 + what.clone(), [INFO] [stdout] 918 + hm, [INFO] [stdout] 919 + match hm.get(&temp_sym) { [INFO] [stdout] 920 + Some(a) => *a, [INFO] [stdout] 921 + None => 0, [INFO] [stdout] 922 + } as isize, [INFO] [stdout] 923 + ) as u32) [INFO] [stdout] 924 + .to_le_bytes(), [INFO] [stdout] 925 + ]; [INFO] [stdout] 926 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 927 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | / box move |hm| { [INFO] [stdout] 958 | | let num = recurse_expand( [INFO] [stdout] 959 | | what.clone(), [INFO] [stdout] 960 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 969 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 970 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 957 ~ Box::new(move |hm| { [INFO] [stdout] 958 + let num = recurse_expand( [INFO] [stdout] 959 + what.clone(), [INFO] [stdout] 960 + hm, [INFO] [stdout] 961 + match hm.get(&temp_sym) { [INFO] [stdout] 962 + Some(a) => *a, [INFO] [stdout] 963 + None => 0, [INFO] [stdout] 964 + } as isize, [INFO] [stdout] 965 + ); [INFO] [stdout] 966 + let leb = (num.abs() as u32).to_le_bytes(); [INFO] [stdout] 967 + let ono = if num < 0 { 3 } else { 0 }; [INFO] [stdout] 968 + let p: [&[u8]; 2] = [&[0x22 + ono, r.to_id()], &leb.split_at(3).0]; [INFO] [stdout] 969 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 970 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | / box move |hm| { [INFO] [stdout] 936 | | let p: [&[u8]; 2] = [ [INFO] [stdout] 937 | | &[0x01], [INFO] [stdout] 938 | | &(recurse_expand( [INFO] [stdout] ... | [INFO] [stdout] 948 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 949 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 935 ~ Box::new(move |hm| { [INFO] [stdout] 936 + let p: [&[u8]; 2] = [ [INFO] [stdout] 937 + &[0x01], [INFO] [stdout] 938 + &(recurse_expand( [INFO] [stdout] 939 + what.clone(), [INFO] [stdout] 940 + hm, [INFO] [stdout] 941 + match hm.get(&temp_sym) { [INFO] [stdout] 942 + Some(a) => *a, [INFO] [stdout] 943 + None => 0, [INFO] [stdout] 944 + } as isize, [INFO] [stdout] 945 + ) as u32) [INFO] [stdout] 946 + .to_le_bytes(), [INFO] [stdout] 947 + ]; [INFO] [stdout] 948 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 949 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | / box move |hm| { [INFO] [stdout] 979 | | let num = recurse_expand( [INFO] [stdout] 980 | | what.clone(), [INFO] [stdout] 981 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 990 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 991 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 978 ~ Box::new(move |hm| { [INFO] [stdout] 979 + let num = recurse_expand( [INFO] [stdout] 980 + what.clone(), [INFO] [stdout] 981 + hm, [INFO] [stdout] 982 + match hm.get(&temp_sym) { [INFO] [stdout] 983 + Some(a) => *a, [INFO] [stdout] 984 + None => 0, [INFO] [stdout] 985 + } as isize, [INFO] [stdout] 986 + ); [INFO] [stdout] 987 + let leb = num.abs().to_le_bytes(); [INFO] [stdout] 988 + let ono = if num < 0 { 3 } else { 0 }; [INFO] [stdout] 989 + let p: [&[u8]; 2] = [&[0x21 + ono, r.to_id()], &leb.split_at(3).0]; [INFO] [stdout] 990 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 991 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | / box move |hm| { [INFO] [stdout] 958 | | let num = recurse_expand( [INFO] [stdout] 959 | | what.clone(), [INFO] [stdout] 960 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 969 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 970 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 957 ~ Box::new(move |hm| { [INFO] [stdout] 958 + let num = recurse_expand( [INFO] [stdout] 959 + what.clone(), [INFO] [stdout] 960 + hm, [INFO] [stdout] 961 + match hm.get(&temp_sym) { [INFO] [stdout] 962 + Some(a) => *a, [INFO] [stdout] 963 + None => 0, [INFO] [stdout] 964 + } as isize, [INFO] [stdout] 965 + ); [INFO] [stdout] 966 + let leb = (num.abs() as u32).to_le_bytes(); [INFO] [stdout] 967 + let ono = if num < 0 { 3 } else { 0 }; [INFO] [stdout] 968 + let p: [&[u8]; 2] = [&[0x22 + ono, r.to_id()], &leb.split_at(3).0]; [INFO] [stdout] 969 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 970 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:998:17 [INFO] [stdout] | [INFO] [stdout] 998 | / box move |_hm| { [INFO] [stdout] 999 | | let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1000 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1001 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 998 ~ Box::new(move |_hm| { [INFO] [stdout] 999 + let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1000 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1001 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1008:17 [INFO] [stdout] | [INFO] [stdout] 1008 | / box move |_hm| { [INFO] [stdout] 1009 | | let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1010 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1011 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1008 ~ Box::new(move |_hm| { [INFO] [stdout] 1009 + let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1010 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1011 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | / box move |hm| { [INFO] [stdout] 979 | | let num = recurse_expand( [INFO] [stdout] 980 | | what.clone(), [INFO] [stdout] 981 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 990 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 991 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 978 ~ Box::new(move |hm| { [INFO] [stdout] 979 + let num = recurse_expand( [INFO] [stdout] 980 + what.clone(), [INFO] [stdout] 981 + hm, [INFO] [stdout] 982 + match hm.get(&temp_sym) { [INFO] [stdout] 983 + Some(a) => *a, [INFO] [stdout] 984 + None => 0, [INFO] [stdout] 985 + } as isize, [INFO] [stdout] 986 + ); [INFO] [stdout] 987 + let leb = num.abs().to_le_bytes(); [INFO] [stdout] 988 + let ono = if num < 0 { 3 } else { 0 }; [INFO] [stdout] 989 + let p: [&[u8]; 2] = [&[0x21 + ono, r.to_id()], &leb.split_at(3).0]; [INFO] [stdout] 990 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 991 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | box move |hm| resolved_box(hm).repeat(i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1053 | Box::new(move |hm| resolved_box(hm).repeat(i)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1071:40 [INFO] [stdout] | [INFO] [stdout] 1071 | Resolvable::Unresolved(box |_| vec![], 0, symbols), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1071 | Resolvable::Unresolved(Box::new(|_| vec![]), 0, symbols), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:998:17 [INFO] [stdout] | [INFO] [stdout] 998 | / box move |_hm| { [INFO] [stdout] 999 | | let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1000 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1001 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 998 ~ Box::new(move |_hm| { [INFO] [stdout] 999 + let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1000 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1001 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1008:17 [INFO] [stdout] | [INFO] [stdout] 1008 | / box move |_hm| { [INFO] [stdout] 1009 | | let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1010 | | p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1011 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1008 ~ Box::new(move |_hm| { [INFO] [stdout] 1009 + let p: [&[u8]; 2] = [&[0x23, r.to_id()], &[0, 0, 0]]; [INFO] [stdout] 1010 + p.iter().map(|e| *e).flatten().map(|e| *e).collect() [INFO] [stdout] 1011 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1093:17 [INFO] [stdout] | [INFO] [stdout] 1093 | / box move |hm| { [INFO] [stdout] 1094 | | let v = recurse_expand( [INFO] [stdout] 1095 | | val.clone(), [INFO] [stdout] 1096 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 1107 | | } [INFO] [stdout] 1108 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1093 ~ Box::new(move |hm| { [INFO] [stdout] 1094 + let v = recurse_expand( [INFO] [stdout] 1095 + val.clone(), [INFO] [stdout] 1096 + hm, [INFO] [stdout] 1097 + match hm.get(&temp_sym) { [INFO] [stdout] 1098 + Some(a) => *a, [INFO] [stdout] 1099 + None => 0, [INFO] [stdout] 1100 + } as isize, [INFO] [stdout] 1101 + ); [INFO] [stdout] 1102 + match dw_type_box.borrow() { [INFO] [stdout] 1103 + "dd" => (v as u32).to_le_bytes().iter().map(|e| *e).collect(), [INFO] [stdout] 1104 + "dw" => (v as u16).to_le_bytes().iter().map(|e| *e).collect(), [INFO] [stdout] 1105 + "db" => (v as u8).to_le_bytes().iter().map(|e| *e).collect(), [INFO] [stdout] 1106 + _ => unreachable!(), [INFO] [stdout] 1107 + } [INFO] [stdout] 1108 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | box move |hm| resolved_box(hm).repeat(i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1053 | Box::new(move |hm| resolved_box(hm).repeat(i)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1071:40 [INFO] [stdout] | [INFO] [stdout] 1071 | Resolvable::Unresolved(box |_| vec![], 0, symbols), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1071 | Resolvable::Unresolved(Box::new(|_| vec![]), 0, symbols), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1136:17 [INFO] [stdout] | [INFO] [stdout] 1136 | / box move |hm| { [INFO] [stdout] 1137 | | let start = recurse_expand(val.clone(), hm, 0); [INFO] [stdout] 1138 | | START.with(|start_refcell| { [INFO] [stdout] 1139 | | start_refcell.replace(start); [INFO] [stdout] 1140 | | }); [INFO] [stdout] 1141 | | vec![] [INFO] [stdout] 1142 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1136 ~ Box::new(move |hm| { [INFO] [stdout] 1137 + let start = recurse_expand(val.clone(), hm, 0); [INFO] [stdout] 1138 + START.with(|start_refcell| { [INFO] [stdout] 1139 + start_refcell.replace(start); [INFO] [stdout] 1140 + }); [INFO] [stdout] 1141 + vec![] [INFO] [stdout] 1142 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1093:17 [INFO] [stdout] | [INFO] [stdout] 1093 | / box move |hm| { [INFO] [stdout] 1094 | | let v = recurse_expand( [INFO] [stdout] 1095 | | val.clone(), [INFO] [stdout] 1096 | | hm, [INFO] [stdout] ... | [INFO] [stdout] 1107 | | } [INFO] [stdout] 1108 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1093 ~ Box::new(move |hm| { [INFO] [stdout] 1094 + let v = recurse_expand( [INFO] [stdout] 1095 + val.clone(), [INFO] [stdout] 1096 + hm, [INFO] [stdout] 1097 + match hm.get(&temp_sym) { [INFO] [stdout] 1098 + Some(a) => *a, [INFO] [stdout] 1099 + None => 0, [INFO] [stdout] 1100 + } as isize, [INFO] [stdout] 1101 + ); [INFO] [stdout] 1102 + match dw_type_box.borrow() { [INFO] [stdout] 1103 + "dd" => (v as u32).to_le_bytes().iter().map(|e| *e).collect(), [INFO] [stdout] 1104 + "dw" => (v as u16).to_le_bytes().iter().map(|e| *e).collect(), [INFO] [stdout] 1105 + "db" => (v as u8).to_le_bytes().iter().map(|e| *e).collect(), [INFO] [stdout] 1106 + _ => unreachable!(), [INFO] [stdout] 1107 + } [INFO] [stdout] 1108 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1198:17 [INFO] [stdout] | [INFO] [stdout] 1198 | / box move |symbols| { [INFO] [stdout] 1199 | | let left = lhs.0(symbols); [INFO] [stdout] 1200 | | let right = rhs.0(symbols); [INFO] [stdout] 1201 | | let mut buf = vec![]; [INFO] [stdout] ... | [INFO] [stdout] 1218 | | buf [INFO] [stdout] 1219 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1198 ~ Box::new(move |symbols| { [INFO] [stdout] 1199 + let left = lhs.0(symbols); [INFO] [stdout] 1200 + let right = rhs.0(symbols); [INFO] [stdout] 1201 + let mut buf = vec![]; [INFO] [stdout] 1202 + let mut buffer_writer = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1203 + buffer_writer [INFO] [stdout] 1204 + .write(&[0xf0]) [INFO] [stdout] 1205 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1206 + buffer_writer [INFO] [stdout] 1207 + .write(&left) [INFO] [stdout] 1208 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1209 + buffer_writer [INFO] [stdout] 1210 + .write(&right) [INFO] [stdout] 1211 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1212 + for _i in 0..(8 - buffer_writer.position()) { [INFO] [stdout] 1213 + buffer_writer [INFO] [stdout] 1214 + .write(&[0x0f]) [INFO] [stdout] 1215 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1216 + } [INFO] [stdout] 1217 + drop(buffer_writer); [INFO] [stdout] 1218 + buf [INFO] [stdout] 1219 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1136:17 [INFO] [stdout] | [INFO] [stdout] 1136 | / box move |hm| { [INFO] [stdout] 1137 | | let start = recurse_expand(val.clone(), hm, 0); [INFO] [stdout] 1138 | | START.with(|start_refcell| { [INFO] [stdout] 1139 | | start_refcell.replace(start); [INFO] [stdout] 1140 | | }); [INFO] [stdout] 1141 | | vec![] [INFO] [stdout] 1142 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1136 ~ Box::new(move |hm| { [INFO] [stdout] 1137 + let start = recurse_expand(val.clone(), hm, 0); [INFO] [stdout] 1138 + START.with(|start_refcell| { [INFO] [stdout] 1139 + start_refcell.replace(start); [INFO] [stdout] 1140 + }); [INFO] [stdout] 1141 + vec![] [INFO] [stdout] 1142 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1242:25 [INFO] [stdout] | [INFO] [stdout] 1242 | / box |hm| { [INFO] [stdout] 1243 | | let mut buf = vec![]; [INFO] [stdout] 1244 | | let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1245 | | wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] ... | [INFO] [stdout] 1258 | | buf [INFO] [stdout] 1259 | | }, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1242 ~ Box::new(|hm| { [INFO] [stdout] 1243 + let mut buf = vec![]; [INFO] [stdout] 1244 + let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1245 + wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] 1246 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1247 + wr.write( [INFO] [stdout] 1248 + &(*hm [INFO] [stdout] 1249 + .get(&"__got_fix_jump".to_string()) [INFO] [stdout] 1250 + .expect("__got_fix_jump should exist if @init_dyn is used") [INFO] [stdout] 1251 + as u32) [INFO] [stdout] 1252 + .to_le_bytes(), [INFO] [stdout] 1253 + ) [INFO] [stdout] 1254 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1255 + wr.write(&[0x0f]) [INFO] [stdout] 1256 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1257 + drop(wr); [INFO] [stdout] 1258 + buf [INFO] [stdout] 1259 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1198:17 [INFO] [stdout] | [INFO] [stdout] 1198 | / box move |symbols| { [INFO] [stdout] 1199 | | let left = lhs.0(symbols); [INFO] [stdout] 1200 | | let right = rhs.0(symbols); [INFO] [stdout] 1201 | | let mut buf = vec![]; [INFO] [stdout] ... | [INFO] [stdout] 1218 | | buf [INFO] [stdout] 1219 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1198 ~ Box::new(move |symbols| { [INFO] [stdout] 1199 + let left = lhs.0(symbols); [INFO] [stdout] 1200 + let right = rhs.0(symbols); [INFO] [stdout] 1201 + let mut buf = vec![]; [INFO] [stdout] 1202 + let mut buffer_writer = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1203 + buffer_writer [INFO] [stdout] 1204 + .write(&[0xf0]) [INFO] [stdout] 1205 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1206 + buffer_writer [INFO] [stdout] 1207 + .write(&left) [INFO] [stdout] 1208 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1209 + buffer_writer [INFO] [stdout] 1210 + .write(&right) [INFO] [stdout] 1211 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1212 + for _i in 0..(8 - buffer_writer.position()) { [INFO] [stdout] 1213 + buffer_writer [INFO] [stdout] 1214 + .write(&[0x0f]) [INFO] [stdout] 1215 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1216 + } [INFO] [stdout] 1217 + drop(buffer_writer); [INFO] [stdout] 1218 + buf [INFO] [stdout] 1219 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1382:32 [INFO] [stdout] | [INFO] [stdout] 1382 | Resolvable::Unresolved(box move |_hm| s.clone(), sl, { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1382 | Resolvable::Unresolved(Box::new(move |_hm| s.clone()), sl, { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1242:25 [INFO] [stdout] | [INFO] [stdout] 1242 | / box |hm| { [INFO] [stdout] 1243 | | let mut buf = vec![]; [INFO] [stdout] 1244 | | let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1245 | | wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] ... | [INFO] [stdout] 1258 | | buf [INFO] [stdout] 1259 | | }, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1242 ~ Box::new(|hm| { [INFO] [stdout] 1243 + let mut buf = vec![]; [INFO] [stdout] 1244 + let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1245 + wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] 1246 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1247 + wr.write( [INFO] [stdout] 1248 + &(*hm [INFO] [stdout] 1249 + .get(&"__got_fix_jump".to_string()) [INFO] [stdout] 1250 + .expect("__got_fix_jump should exist if @init_dyn is used") [INFO] [stdout] 1251 + as u32) [INFO] [stdout] 1252 + .to_le_bytes(), [INFO] [stdout] 1253 + ) [INFO] [stdout] 1254 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1255 + wr.write(&[0x0f]) [INFO] [stdout] 1256 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1257 + drop(wr); [INFO] [stdout] 1258 + buf [INFO] [stdout] 1259 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1382:32 [INFO] [stdout] | [INFO] [stdout] 1382 | Resolvable::Unresolved(box move |_hm| s.clone(), sl, { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1382 | Resolvable::Unresolved(Box::new(move |_hm| s.clone()), sl, { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1397:17 [INFO] [stdout] | [INFO] [stdout] 1397 | / box |hm| { [INFO] [stdout] 1398 | | let mut buf = vec![]; [INFO] [stdout] 1399 | | let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1400 | | let got_fix_jump: usize = *hm [INFO] [stdout] ... | [INFO] [stdout] 1477 | | buf [INFO] [stdout] 1478 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1397 ~ Box::new(|hm| { [INFO] [stdout] 1398 + let mut buf = vec![]; [INFO] [stdout] 1399 + let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1400 + let got_fix_jump: usize = *hm [INFO] [stdout] 1401 + .get(&"__got_fix_jump".to_string()) [INFO] [stdout] 1402 + .expect("__got_fix_jump needed"); [INFO] [stdout] 1403 + let got = got_fix_jump + 8; [INFO] [stdout] 1404 + wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] 1405 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1406 + wr.write( [INFO] [stdout] 1407 + &((hm [INFO] [stdout] 1408 + .get(&"__got_fix_jump".to_string()) [INFO] [stdout] 1409 + .expect("this _should_ be infallible") [INFO] [stdout] 1410 + + (hm.len()) * 4) as u32) [INFO] [stdout] 1411 + .to_le_bytes(), [INFO] [stdout] 1412 + ) [INFO] [stdout] 1413 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1414 + wr.write(&[0x0f]) [INFO] [stdout] 1415 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1416 + [INFO] [stdout] 1417 + let mut revershm: HashMap = HashMap::new(); [INFO] [stdout] 1418 + [INFO] [stdout] 1419 + let mut gotsymcount = 0; [INFO] [stdout] 1420 + [INFO] [stdout] 1421 + for label in hm { [INFO] [stdout] 1422 + if label.0.ends_with("@got") { [INFO] [stdout] 1423 + revershm.insert(gotsymcount, label.0.clone()); [INFO] [stdout] 1424 + gotsymcount += 1; [INFO] [stdout] 1425 + } [INFO] [stdout] 1426 + } [INFO] [stdout] 1427 + for i in 0..gotsymcount { [INFO] [stdout] 1428 + let sym = revershm [INFO] [stdout] 1429 + .get(&i) [INFO] [stdout] 1430 + .expect("this symbol was inserted right above"); [INFO] [stdout] 1431 + let o: usize = 0x1_0000_0000 [INFO] [stdout] 1432 + + *hm [INFO] [stdout] 1433 + .get(&sym.split_at(sym.len() - 4).0.to_string()) [INFO] [stdout] 1434 + .expect("hmm"); [INFO] [stdout] 1435 + println!("{:?} {} {:#x?} {:#x?}", revershm, gotsymcount, o, got); [INFO] [stdout] 1436 + let symval: usize = o - gotsymcount * 4 - got; [INFO] [stdout] 1437 + [INFO] [stdout] 1438 + wr.write(&(symval as u32).to_le_bytes()) [INFO] [stdout] 1439 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1440 + } [INFO] [stdout] 1441 + [INFO] [stdout] 1442 + wr.write(&[0xf0, Reg::orl.to_id(), Reg::mrp.to_id(), 0, 0, 0, 0, 0x0f]) [INFO] [stdout] 1443 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1444 + [INFO] [stdout] 1445 + for i in 0..gotsymcount { [INFO] [stdout] 1446 + let calced_readoff = 0x1_0000_0000 [INFO] [stdout] 1447 + - (0x1_0000_0000 + (got + i * 4) - (got + gotsymcount * 20)) [INFO] [stdout] 1448 + & 0xffff_ffff; [INFO] [stdout] 1449 + let calced_writeoff = 0x1_0000_0000 [INFO] [stdout] 1450 + - (0x1_0000_0000 + (got + i * 4) - (got + gotsymcount * 20 + 8)) [INFO] [stdout] 1451 + & 0xffff_ffff; [INFO] [stdout] 1452 + wr.write(&[0xf0, Reg::orr.to_id(), 0x26, Reg::mrp.to_id()]) [INFO] [stdout] 1453 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1454 + wr.write(&(calced_readoff as u32).to_le_bytes().split_at(3).0) [INFO] [stdout] 1455 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1456 + wr.write(&[0x0f]) [INFO] [stdout] 1457 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1458 + wr.write(&[0xf0, 0x26, Reg::mrp.to_id()]) [INFO] [stdout] 1459 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1460 + wr.write(&(calced_writeoff as u32).to_le_bytes().split_at(3).0) [INFO] [stdout] 1461 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1462 + wr.write(&[Reg::ara.to_id(), 0x0f]) [INFO] [stdout] 1463 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1464 + } [INFO] [stdout] 1465 + [INFO] [stdout] 1466 + wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] 1467 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1468 + wr.write( [INFO] [stdout] 1469 + &hm.get(&"__got_after_fix_jumpback".to_string()) [INFO] [stdout] 1470 + .expect("__got_after_fix_jumpback should be there") [INFO] [stdout] 1471 + .to_le_bytes(), [INFO] [stdout] 1472 + ) [INFO] [stdout] 1473 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1474 + wr.write(&[0x0f]) [INFO] [stdout] 1475 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1476 + drop(wr); [INFO] [stdout] 1477 + buf [INFO] [stdout] 1478 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1397:17 [INFO] [stdout] | [INFO] [stdout] 1397 | / box |hm| { [INFO] [stdout] 1398 | | let mut buf = vec![]; [INFO] [stdout] 1399 | | let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1400 | | let got_fix_jump: usize = *hm [INFO] [stdout] ... | [INFO] [stdout] 1477 | | buf [INFO] [stdout] 1478 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1397 ~ Box::new(|hm| { [INFO] [stdout] 1398 + let mut buf = vec![]; [INFO] [stdout] 1399 + let mut wr = std::io::Cursor::new(&mut buf); [INFO] [stdout] 1400 + let got_fix_jump: usize = *hm [INFO] [stdout] 1401 + .get(&"__got_fix_jump".to_string()) [INFO] [stdout] 1402 + .expect("__got_fix_jump needed"); [INFO] [stdout] 1403 + let got = got_fix_jump + 8; [INFO] [stdout] 1404 + wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] 1405 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1406 + wr.write( [INFO] [stdout] 1407 + &((hm [INFO] [stdout] 1408 + .get(&"__got_fix_jump".to_string()) [INFO] [stdout] 1409 + .expect("this _should_ be infallible") [INFO] [stdout] 1410 + + (hm.len()) * 4) as u32) [INFO] [stdout] 1411 + .to_le_bytes(), [INFO] [stdout] 1412 + ) [INFO] [stdout] 1413 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1414 + wr.write(&[0x0f]) [INFO] [stdout] 1415 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1416 + [INFO] [stdout] 1417 + let mut revershm: HashMap = HashMap::new(); [INFO] [stdout] 1418 + [INFO] [stdout] 1419 + let mut gotsymcount = 0; [INFO] [stdout] 1420 + [INFO] [stdout] 1421 + for label in hm { [INFO] [stdout] 1422 + if label.0.ends_with("@got") { [INFO] [stdout] 1423 + revershm.insert(gotsymcount, label.0.clone()); [INFO] [stdout] 1424 + gotsymcount += 1; [INFO] [stdout] 1425 + } [INFO] [stdout] 1426 + } [INFO] [stdout] 1427 + for i in 0..gotsymcount { [INFO] [stdout] 1428 + let sym = revershm [INFO] [stdout] 1429 + .get(&i) [INFO] [stdout] 1430 + .expect("this symbol was inserted right above"); [INFO] [stdout] 1431 + let o: usize = 0x1_0000_0000 [INFO] [stdout] 1432 + + *hm [INFO] [stdout] 1433 + .get(&sym.split_at(sym.len() - 4).0.to_string()) [INFO] [stdout] 1434 + .expect("hmm"); [INFO] [stdout] 1435 + println!("{:?} {} {:#x?} {:#x?}", revershm, gotsymcount, o, got); [INFO] [stdout] 1436 + let symval: usize = o - gotsymcount * 4 - got; [INFO] [stdout] 1437 + [INFO] [stdout] 1438 + wr.write(&(symval as u32).to_le_bytes()) [INFO] [stdout] 1439 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1440 + } [INFO] [stdout] 1441 + [INFO] [stdout] 1442 + wr.write(&[0xf0, Reg::orl.to_id(), Reg::mrp.to_id(), 0, 0, 0, 0, 0x0f]) [INFO] [stdout] 1443 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1444 + [INFO] [stdout] 1445 + for i in 0..gotsymcount { [INFO] [stdout] 1446 + let calced_readoff = 0x1_0000_0000 [INFO] [stdout] 1447 + - (0x1_0000_0000 + (got + i * 4) - (got + gotsymcount * 20)) [INFO] [stdout] 1448 + & 0xffff_ffff; [INFO] [stdout] 1449 + let calced_writeoff = 0x1_0000_0000 [INFO] [stdout] 1450 + - (0x1_0000_0000 + (got + i * 4) - (got + gotsymcount * 20 + 8)) [INFO] [stdout] 1451 + & 0xffff_ffff; [INFO] [stdout] 1452 + wr.write(&[0xf0, Reg::orr.to_id(), 0x26, Reg::mrp.to_id()]) [INFO] [stdout] 1453 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1454 + wr.write(&(calced_readoff as u32).to_le_bytes().split_at(3).0) [INFO] [stdout] 1455 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1456 + wr.write(&[0x0f]) [INFO] [stdout] 1457 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1458 + wr.write(&[0xf0, 0x26, Reg::mrp.to_id()]) [INFO] [stdout] 1459 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1460 + wr.write(&(calced_writeoff as u32).to_le_bytes().split_at(3).0) [INFO] [stdout] 1461 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1462 + wr.write(&[Reg::ara.to_id(), 0x0f]) [INFO] [stdout] 1463 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1464 + } [INFO] [stdout] 1465 + [INFO] [stdout] 1466 + wr.write(&[0xf0, 0x20, 0x00]) [INFO] [stdout] 1467 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1468 + wr.write( [INFO] [stdout] 1469 + &hm.get(&"__got_after_fix_jumpback".to_string()) [INFO] [stdout] 1470 + .expect("__got_after_fix_jumpback should be there") [INFO] [stdout] 1471 + .to_le_bytes(), [INFO] [stdout] 1472 + ) [INFO] [stdout] 1473 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1474 + wr.write(&[0x0f]) [INFO] [stdout] 1475 + .expect("std::io::Cursor::write should be infallible"); [INFO] [stdout] 1476 + drop(wr); [INFO] [stdout] 1477 + buf [INFO] [stdout] 1478 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1519:29 [INFO] [stdout] | [INFO] [stdout] 1519 | let symbols = Box::leak(box symbols.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1519 | let symbols = Box::leak(Box::new(symbols.clone())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:1519:29 [INFO] [stdout] | [INFO] [stdout] 1519 | let symbols = Box::leak(box symbols.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 1519 | let symbols = Box::leak(Box::new(symbols.clone())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `io_read_to_string` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(io_read_to_string)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_expect_none` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(option_expect_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `io_read_to_string` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(io_read_to_string)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_expect_none` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(option_expect_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 78 | / hmprovides [INFO] [stdout] 79 | | .insert(k.0.clone(), *k.1) [INFO] [stdout] 80 | | .expect_none("Symbols clashed"); [INFO] [stdout] | | -^^^^^^^^^^^ help: there is a method with a similar name: `expect` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 78 | / hmprovides [INFO] [stdout] 79 | | .insert(k.0.clone(), *k.1) [INFO] [stdout] 80 | | .expect_none("Symbols clashed"); [INFO] [stdout] | | -^^^^^^^^^^^ help: there is a method with a similar name: `expect` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 83 | / hmprovides [INFO] [stdout] 84 | | .insert(k.0.clone(), *k.1 + sizer) [INFO] [stdout] 85 | | .expect_none("Symbols clashed"); [INFO] [stdout] | | -^^^^^^^^^^^ help: there is a method with a similar name: `expect` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/main.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 83 | / hmprovides [INFO] [stdout] 84 | | .insert(k.0.clone(), *k.1 + sizer) [INFO] [stdout] 85 | | .expect_none("Symbols clashed"); [INFO] [stdout] | | -^^^^^^^^^^^ help: there is a method with a similar name: `expect` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sasm` (bin "sasm") due to 70 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sasm` (bin "sasm" test) due to 70 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c0c93cbc5e4a5a38d4447f3b1d7ec3afa966715a65ee2d3b266c5d506def9f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c93cbc5e4a5a38d4447f3b1d7ec3afa966715a65ee2d3b266c5d506def9f76", kill_on_drop: false }` [INFO] [stdout] c0c93cbc5e4a5a38d4447f3b1d7ec3afa966715a65ee2d3b266c5d506def9f76