A fibre-dimension counterexample for a non-quasi-compact morphism
Over , Axiom Math gives a locally finite-type morphism from an affine line with infinitely many origins, each thickened to a successively higher order, to the affine line. The source and every fibre have dimension one. The scheme-theoretic image is the whole target line, so the generic equality in Stacks Lemma 107.5.22 fails at every point.